diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-21 20:34:21 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-21 20:34:21 +0000 |
commit | 7ca3921e5e8aa64533d4d7a678046676ae6574ec (patch) | |
tree | 9736975246e991e626e025ab1c98d9f5536e9007 /networking/ifconfig.c | |
parent | 5096246ffb22b46b7d9e9debf035112a11d339b3 (diff) | |
download | busybox-w32-7ca3921e5e8aa64533d4d7a678046676ae6574ec.tar.gz busybox-w32-7ca3921e5e8aa64533d4d7a678046676ae6574ec.tar.bz2 busybox-w32-7ca3921e5e8aa64533d4d7a678046676ae6574ec.zip |
bb_INET_default[] is really just a const "default",
nothing INET-specific
Diffstat (limited to 'networking/ifconfig.c')
-rw-r--r-- | networking/ifconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c index 00dc455b0..05be7dc1f 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c | |||
@@ -394,7 +394,7 @@ int ifconfig_main(int argc, char **argv) | |||
394 | 394 | ||
395 | sai.sin_family = AF_INET; | 395 | sai.sin_family = AF_INET; |
396 | sai.sin_port = 0; | 396 | sai.sin_port = 0; |
397 | if (!strcmp(host, bb_INET_default)) { | 397 | if (!strcmp(host, bb_str_default)) { |
398 | /* Default is special, meaning 0.0.0.0. */ | 398 | /* Default is special, meaning 0.0.0.0. */ |
399 | sai.sin_addr.s_addr = INADDR_ANY; | 399 | sai.sin_addr.s_addr = INADDR_ANY; |
400 | #if ENABLE_FEATURE_IFCONFIG_BROADCAST_PLUS | 400 | #if ENABLE_FEATURE_IFCONFIG_BROADCAST_PLUS |