]> git.ipfire.org Git - thirdparty/lxc.git/commit
Some tweaks to direct route to gateway
authorStéphane Graber <stgraber@ubuntu.com>
Mon, 25 Nov 2013 19:33:15 +0000 (14:33 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 26 Nov 2013 15:22:55 +0000 (10:22 -0500)
commitfc739df565e7e97963f775de35c37b6238356be9
tree48ec5a33f3d2a69bf3c1740ed40e32948a63b97a
parent77dcf03a791f26942e997714291a8ab97693877f
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@ubuntu.com>
Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/conf.c