[lxc-devel] [lxc/lxc] 77dcf0: Add gateway as direct route for interface

GitHub noreply at github.com
Tue Nov 26 15:24:24 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 77dcf03a791f26942e997714291a8ab97693877f
      https://github.com/lxc/lxc/commit/77dcf03a791f26942e997714291a8ab97693877f
  Author: Guilhem Lettron <guilhem.lettron at gmail.com>
  Date:   2013-11-26 (Tue, 26 Nov 2013)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/network.c
    M src/lxc/network.h

  Log Message:
  -----------
  Add gateway as direct route for interface

Signed-off-by: Guilhem Lettron <guilhem.lettron at gmail.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: fc739df565e7e97963f775de35c37b6238356be9
      https://github.com/lxc/lxc/commit/fc739df565e7e97963f775de35c37b6238356be9
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2013-11-26 (Tue, 26 Nov 2013)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  Some tweaks to direct route to gateway

The previous patch added code to add a static route prior to adding the
gateway to the interface.

This commit simply changes the logic so that this is only done on
failure to add the gateway.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/7ee37fac5ed3...fc739df565e7


More information about the lxc-devel mailing list