aboutsummaryrefslogtreecommitdiff
path: root/networking/tcpudp.c
diff options
context:
space:
mode:
authorJan Luebbe <jluebbe@debian.org>2018-02-14 14:05:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-02-20 19:43:32 +0100
commite789c3bea18181723c4ae7d761ec30926d182cfb (patch)
treea1d5abfc03412982db4d538c0ad424a46c91f4ac /networking/tcpudp.c
parent79cda9522ad390f1bdb7ba1025b1c81bbd1613e6 (diff)
downloadbusybox-w32-e789c3bea18181723c4ae7d761ec30926d182cfb.tar.gz
busybox-w32-e789c3bea18181723c4ae7d761ec30926d182cfb.tar.bz2
busybox-w32-e789c3bea18181723c4ae7d761ec30926d182cfb.zip
iplink: implement support for selecting a master interface
Attaching an interface to a VRF is done by setting the interface's master. Besides VRF, this can also be used for bridges. function old new delta set_master - 142 +142 do_iplink 1262 1357 +95 packed_usage 32546 32539 -7 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 237/-7) Total: 230 bytes Signed-off-by: Jan Luebbe <jluebbe@debian.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tcpudp.c')
-rw-r--r--networking/tcpudp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tcpudp.c b/networking/tcpudp.c
index d4c69e0f7..2feb63a01 100644
--- a/networking/tcpudp.c
+++ b/networking/tcpudp.c
@@ -318,7 +318,7 @@ int tcpudpsvd_main(int argc UNUSED_PARAM, char **argv)
318 sslser = user; 318 sslser = user;
319 client = 0; 319 client = 0;
320 if ((getuid() == 0) && !(opts & OPT_u)) { 320 if ((getuid() == 0) && !(opts & OPT_u)) {
321 xfunc_exitcode = 100; 321 xfunc_error_retval = 100;
322 bb_error_msg_and_die(bb_msg_you_must_be_root); 322 bb_error_msg_and_die(bb_msg_you_must_be_root);
323 } 323 }
324 if (opts & OPT_u) 324 if (opts & OPT_u)