diff options
author | Denis Vlasenko | 2006-11-21 20:34:21 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-21 20:34:21 +0000 |
commit | 7ca3921e5e8aa64533d4d7a678046676ae6574ec (patch) | |
tree | 9736975246e991e626e025ab1c98d9f5536e9007 /networking/libiproute | |
parent | 5096246ffb22b46b7d9e9debf035112a11d339b3 (diff) | |
download | busybox-7ca3921e5e8aa64533d4d7a678046676ae6574ec.zip busybox-7ca3921e5e8aa64533d4d7a678046676ae6574ec.tar.gz |
bb_INET_default[] is really just a const "default",
nothing INET-specific
Diffstat (limited to 'networking/libiproute')
-rw-r--r-- | networking/libiproute/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/utils.c b/networking/libiproute/utils.c index f92179c..e608531 100644 --- a/networking/libiproute/utils.c +++ b/networking/libiproute/utils.c @@ -125,7 +125,7 @@ int get_addr_1(inet_prefix * addr, char *name, int family) memset(addr, 0, sizeof(*addr)); - if (strcmp(name, bb_INET_default) == 0 || + if (strcmp(name, bb_str_default) == 0 || strcmp(name, "all") == 0 || strcmp(name, "any") == 0) { addr->family = family; addr->bytelen = (family == AF_INET6 ? 16 : 4); @@ -169,7 +169,7 @@ int get_prefix_1(inet_prefix * dst, char *arg, int family) memset(dst, 0, sizeof(*dst)); - if (strcmp(arg, bb_INET_default) == 0 || strcmp(arg, "any") == 0) { + if (strcmp(arg, bb_str_default) == 0 || strcmp(arg, "any") == 0) { dst->family = family; dst->bytelen = 0; dst->bitlen = 0; |