diff options
author | Denys Vlasenko | 2010-09-01 12:01:17 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-09-01 12:01:17 +0200 |
commit | 0004e994934374b5695e004bbcb7b1fd67a170f2 (patch) | |
tree | 6cbf7c0042fbd265b34f28111726b0f04c536818 /networking/ifconfig.c | |
parent | 9dc04124d5a3f0c9be249287817a964691e187b0 (diff) | |
download | busybox-0004e994934374b5695e004bbcb7b1fd67a170f2.zip busybox-0004e994934374b5695e004bbcb7b1fd67a170f2.tar.gz |
better shared strings trick
text data bss dec hex filename
861980 441 7540 869961 d4649 busybox_old
861914 441 7540 869895 d4607 busybox_unstripped
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
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 853910f..da2635c 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c @@ -370,7 +370,7 @@ int ifconfig_main(int argc UNUSED_PARAM, char **argv) #endif sai.sin_family = AF_INET; sai.sin_port = 0; - if (!strcmp(host, bb_str_default)) { + if (strcmp(host, "default") == 0) { /* Default is special, meaning 0.0.0.0. */ sai.sin_addr.s_addr = INADDR_ANY; } |