I think do_iproute is missing 3 breaks inside the switch. Patch attached.
Loïc
Index: networking/libiproute/iproute.c =================================================================== --- networking/libiproute/iproute.c (révision 20138) +++ networking/libiproute/iproute.c (copie de travail) @@ -858,10 +858,13 @@ return iproute_list_or_flush(argc-1, argv+1, 0); case 8: /* prepend */ flags = NLM_F_CREATE; + break; case 9: /* replace */ flags = NLM_F_CREATE|NLM_F_REPLACE; + break; case 10: /* test */ flags = NLM_F_EXCL; + break; case 11: /* flush */ return iproute_list_or_flush(argc-1, argv+1, 1); default:
_______________________________________________ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox