diff options
author | Nicholas Niro <blowfist@xroutine.net> | 2020-04-22 23:36:11 -0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-10-07 23:24:56 +0200 |
commit | c28313bb176639e1e4b11a63f6452baebf69f28e (patch) | |
tree | 879f9b48bc923818c23f20171cd5fcc7aff307e5 /networking/ip.c | |
parent | eb048a450cc7a0d92ac435a59d56f378b9f82667 (diff) | |
download | busybox-w32-c28313bb176639e1e4b11a63f6452baebf69f28e.tar.gz busybox-w32-c28313bb176639e1e4b11a63f6452baebf69f28e.tar.bz2 busybox-w32-c28313bb176639e1e4b11a63f6452baebf69f28e.zip |
ip: added support for setting netns on devices
function old new delta
set_netns - 130 +130
do_iplink 1252 1315 +63
.rodata 104173 104179 +6
packed_usage 34020 33993 -27
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/1 up/down: 199/-27) Total: 172 bytes
Signed-off-by: Nicholas Niro <blowfist@xroutine.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ip.c')
-rw-r--r-- | networking/ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ip.c b/networking/ip.c index 85b1ba080..7c3208699 100644 --- a/networking/ip.c +++ b/networking/ip.c | |||
@@ -152,7 +152,7 @@ | |||
152 | //usage:#define iplink_trivial_usage | 152 | //usage:#define iplink_trivial_usage |
153 | //usage: /*Usage:iplink*/"set IFACE [up|down] [arp on|off] [multicast on|off]\n" | 153 | //usage: /*Usage:iplink*/"set IFACE [up|down] [arp on|off] [multicast on|off]\n" |
154 | //usage: " [promisc on|off] [mtu NUM] [name NAME] [qlen NUM] [address MAC]\n" | 154 | //usage: " [promisc on|off] [mtu NUM] [name NAME] [qlen NUM] [address MAC]\n" |
155 | //usage: " [master IFACE | nomaster]" | 155 | //usage: " [master IFACE | nomaster] [netns PID]" |
156 | // * short help shows only "set" command, long help continues (with just one "\n") | 156 | // * short help shows only "set" command, long help continues (with just one "\n") |
157 | // * and shows all other commands: | 157 | // * and shows all other commands: |
158 | //usage:#define iplink_full_usage "\n" | 158 | //usage:#define iplink_full_usage "\n" |