From e789c3bea18181723c4ae7d761ec30926d182cfb Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Wed, 14 Feb 2018 14:05:27 +0100 Subject: 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 Signed-off-by: Denys Vlasenko --- networking/tcpudp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/tcpudp.c') 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) sslser = user; client = 0; if ((getuid() == 0) && !(opts & OPT_u)) { - xfunc_exitcode = 100; + xfunc_error_retval = 100; bb_error_msg_and_die(bb_msg_you_must_be_root); } if (opts & OPT_u) -- cgit v1.2.3