ifdown -a should bring down the interfaces that ifup -a has brought up. With mappings, that's not the case.
Signed-off-by: Richard Genoud <[email protected]> --- networking/ifupdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networking/ifupdown.c b/networking/ifupdown.c index c4a9e8bf3a00..2fb725699bd9 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -1273,7 +1273,7 @@ int ifupdown_main(int argc UNUSED_PARAM, char **argv) } #if ENABLE_FEATURE_IFUPDOWN_MAPPING - if ((cmds == iface_up) && !NO_MAPPINGS) { + if (!NO_MAPPINGS) { struct mapping_defn_t *currmap; for (currmap = defn->mappings; currmap; currmap = currmap->next) { -- 1.8.5.5 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
