diff options
Diffstat (limited to 'networking/libiproute/iplink.c')
-rw-r--r-- | networking/libiproute/iplink.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index d3d0338..1e7ee07 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c @@ -202,8 +202,7 @@ static int do_set(char **argv) NEXT_ARG(); if (mtu != -1) duparg("mtu", *argv); - if (get_integer(&mtu, *argv, 0)) - invarg(*argv, "mtu"); + mtu = get_unsigned(*argv, "mtu"); } if (key == ARG_multicast) { int param; |