X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=networking%2Fip.c;h=bba70890d4cbb7083669370480dad33fe7635f30;hb=5929edc1fac4340f99ed84e92bf3a2bedd4177c2;hp=cfdbf8b9690a45bd561dde6aa081507d06cf5aeb;hpb=19efb3dc59920b9fed6ec16566a2046e9f3251d9;p=oweals%2Fbusybox.git diff --git a/networking/ip.c b/networking/ip.c index cfdbf8b96..bba70890d 100644 --- a/networking/ip.c +++ b/networking/ip.c @@ -1,10 +1,7 @@ /* * ip.c "ip" utility frontend. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. + * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. * * Authors: Alexey Kuznetsov, * @@ -23,8 +20,8 @@ #include #include -#include "./libiproute/utils.h" -#include "./libiproute/ip_common.h" +#include "libiproute/utils.h" +#include "libiproute/ip_common.h" #include "busybox.h" @@ -62,7 +59,7 @@ void ip_parse_common_args(int *argcp, char ***argvp) else if (strcmp(argv[1], "link") == 0) preferred_family = AF_PACKET; else - invarg(argv[1], "invalid protocol family"); + invarg(bb_msg_invalid_arg, argv[1], "-family"); } else if (strcmp(opt, "-4") == 0) { preferred_family = AF_INET; } else if (strcmp(opt, "-6") == 0) {