summaryrefslogtreecommitdiff
path: root/networking/libiproute/iplink.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/iplink.c')
-rw-r--r--networking/libiproute/iplink.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c
index 2550c19..b4493d6 100644
--- a/networking/libiproute/iplink.c
+++ b/networking/libiproute/iplink.c
@@ -285,6 +285,9 @@ static int do_set(int argc, char **argv)
flags |= IFF_NOARP;
} else
return on_off("noarp");
+ } else if (strcmp(*argv, "addr") == 0) {
+ NEXT_ARG();
+ newaddr = *argv;
} else {
if (strcmp(*argv, "dev") == 0) {
NEXT_ARG();