aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/ipaddress.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/ipaddress.c')
-rw-r--r--networking/libiproute/ipaddress.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index 8845cab91..c0f27c70d 100644
--- a/networking/libiproute/ipaddress.c
+++ b/networking/libiproute/ipaddress.c
@@ -455,7 +455,7 @@ int FAST_FUNC ipaddr_list_or_flush(char **argv, int flush)
455 G_filter.scopemask = -1; 455 G_filter.scopemask = -1;
456 if (rtnl_rtscope_a2n(&scope, *argv)) { 456 if (rtnl_rtscope_a2n(&scope, *argv)) {
457 if (strcmp(*argv, "all") != 0) { 457 if (strcmp(*argv, "all") != 0) {
458 invarg(*argv, "scope"); 458 invarg_1_to_2(*argv, "scope");
459 } 459 }
460 scope = RT_SCOPE_NOWHERE; 460 scope = RT_SCOPE_NOWHERE;
461 G_filter.scopemask = 0; 461 G_filter.scopemask = 0;
@@ -669,7 +669,7 @@ static int ipaddr_modify(int cmd, int flags, char **argv)
669 } else if (arg == 5) { /* scope */ 669 } else if (arg == 5) { /* scope */
670 uint32_t scope = 0; 670 uint32_t scope = 0;
671 if (rtnl_rtscope_a2n(&scope, *argv)) { 671 if (rtnl_rtscope_a2n(&scope, *argv)) {
672 invarg(*argv, "scope"); 672 invarg_1_to_2(*argv, "scope");
673 } 673 }
674 req.ifa.ifa_scope = scope; 674 req.ifa.ifa_scope = scope;
675 scoped = 1; 675 scoped = 1;
@@ -751,7 +751,7 @@ int FAST_FUNC do_ipaddr(char **argv)
751 if (*argv) { 751 if (*argv) {
752 cmd = index_in_substrings(commands, *argv); 752 cmd = index_in_substrings(commands, *argv);
753 if (cmd < 0) 753 if (cmd < 0)
754 invarg(*argv, applet_name); 754 invarg_1_to_2(*argv, applet_name);
755 argv++; 755 argv++;
756 if (cmd <= 4) { 756 if (cmd <= 4) {
757 return ipaddr_modify( 757 return ipaddr_modify(