]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra: replace 0 value on zebra with NS_DEFAULT
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 22 Jan 2018 08:55:26 +0000 (09:55 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 22 Jan 2018 13:58:06 +0000 (14:58 +0100)
On some places, macro NS_DEFAULT was not used. This commit is replacind
on some identified places where 0 can be replaced with NS_DEFAULT macro.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/zebra_ns.c

index 5ede948e0ab7583dac7497949748a7fe2ba25b66..b3b9c6d18a4c9f1144d2c75ad86127def4129f22 100644 (file)
@@ -81,7 +81,7 @@ int zebra_ns_init(void)
 
        zebra_vrf_init();
 
-       zebra_ns_enable(0, (void **)&dzns);
+       zebra_ns_enable(NS_DEFAULT, (void **)&dzns);
 
        return 0;
 }