diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-23 16:25:17 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-23 16:25:17 +0100 |
commit | 651a2697f725f10c1ebdb8947925b5a9c6cf4fe2 (patch) | |
tree | e2373083cc4bf57af9c114c311ff089b84835f0f /networking | |
parent | 37a658c4c86fa5ad9fb6f76cba2fca80f4249036 (diff) | |
download | busybox-w32-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.tar.gz busybox-w32-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.tar.bz2 busybox-w32-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.zip |
*: merge some common strings
text data bss dec hexfilename
838650 8009 0 846659 ceb43busybox_old
838519 8009 0 846528 ceac0busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifplugd.c | 2 | ||||
-rw-r--r-- | networking/libiproute/ipaddress.c | 2 | ||||
-rw-r--r-- | networking/libiproute/iproute.c | 4 | ||||
-rw-r--r-- | networking/udhcp/dhcpd.c | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/networking/ifplugd.c b/networking/ifplugd.c index 62b135524..3567dea03 100644 --- a/networking/ifplugd.c +++ b/networking/ifplugd.c | |||
@@ -486,7 +486,7 @@ static smallint detect_link(void) | |||
486 | if (status == IFSTATUS_ERR | 486 | if (status == IFSTATUS_ERR |
487 | && G.detect_link_func == detect_link_auto | 487 | && G.detect_link_func == detect_link_auto |
488 | ) { | 488 | ) { |
489 | bb_error_msg("failed to detect link status"); | 489 | bb_error_msg("can't detect link status"); |
490 | } | 490 | } |
491 | 491 | ||
492 | if (status != G.iface_last_status) { | 492 | if (status != G.iface_last_status) { |
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index af29dd301..daea9dd03 100644 --- a/networking/libiproute/ipaddress.c +++ b/networking/libiproute/ipaddress.c | |||
@@ -194,7 +194,7 @@ static NOINLINE int print_linkinfo(const struct nlmsghdr *n) | |||
194 | static int flush_update(void) | 194 | static int flush_update(void) |
195 | { | 195 | { |
196 | if (rtnl_send(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { | 196 | if (rtnl_send(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { |
197 | bb_perror_msg("failed to send flush request"); | 197 | bb_perror_msg("can't send flush request"); |
198 | return -1; | 198 | return -1; |
199 | } | 199 | } |
200 | G_filter.flushp = 0; | 200 | G_filter.flushp = 0; |
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c index 68e3c36a0..d771a609b 100644 --- a/networking/libiproute/iproute.c +++ b/networking/libiproute/iproute.c | |||
@@ -51,7 +51,7 @@ typedef struct filter_t filter_t; | |||
51 | static int flush_update(void) | 51 | static int flush_update(void) |
52 | { | 52 | { |
53 | if (rtnl_send(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { | 53 | if (rtnl_send(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { |
54 | bb_perror_msg("failed to send flush request"); | 54 | bb_perror_msg("can't send flush request"); |
55 | return -1; | 55 | return -1; |
56 | } | 56 | } |
57 | G_filter.flushp = 0; | 57 | G_filter.flushp = 0; |
@@ -846,7 +846,7 @@ static int iproute_get(char **argv) | |||
846 | tb[RTA_PREFSRC]->rta_type = RTA_SRC; | 846 | tb[RTA_PREFSRC]->rta_type = RTA_SRC; |
847 | r->rtm_src_len = 8*RTA_PAYLOAD(tb[RTA_PREFSRC]); | 847 | r->rtm_src_len = 8*RTA_PAYLOAD(tb[RTA_PREFSRC]); |
848 | } else if (!tb[RTA_SRC]) { | 848 | } else if (!tb[RTA_SRC]) { |
849 | bb_error_msg_and_die("failed to connect the route"); | 849 | bb_error_msg_and_die("can't connect the route"); |
850 | } | 850 | } |
851 | if (!odev && tb[RTA_OIF]) { | 851 | if (!odev && tb[RTA_OIF]) { |
852 | tb[RTA_OIF]->rta_type = 0; | 852 | tb[RTA_OIF]->rta_type = 0; |
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index 93e06b237..795ac4841 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c | |||
@@ -389,13 +389,13 @@ int udhcpd_main(int argc UNUSED_PARAM, char **argv) | |||
389 | 389 | ||
390 | switch (udhcp_sp_read(&rfds)) { | 390 | switch (udhcp_sp_read(&rfds)) { |
391 | case SIGUSR1: | 391 | case SIGUSR1: |
392 | bb_info_msg("Received a SIGUSR1"); | 392 | bb_info_msg("Received SIGUSR1"); |
393 | write_leases(); | 393 | write_leases(); |
394 | /* why not just reset the timeout, eh */ | 394 | /* why not just reset the timeout, eh */ |
395 | timeout_end = monotonic_sec() + server_config.auto_time; | 395 | timeout_end = monotonic_sec() + server_config.auto_time; |
396 | continue; | 396 | continue; |
397 | case SIGTERM: | 397 | case SIGTERM: |
398 | bb_info_msg("Received a SIGTERM"); | 398 | bb_info_msg("Received SIGTERM"); |
399 | goto ret0; | 399 | goto ret0; |
400 | case 0: /* no signal: read a packet */ | 400 | case 0: /* no signal: read a packet */ |
401 | break; | 401 | break; |