diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-11-22 21:26:53 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-11-22 21:26:53 +0100 |
commit | db4171d842e9bdc1c2903a9d5cfea053aceb35a2 (patch) | |
tree | 7080e1e777784f25148eadfa33bc1e8d871a2a04 /networking | |
parent | 468c326d6a9035314add6d431301f3840629c976 (diff) | |
download | busybox-w32-1_17_4.tar.gz busybox-w32-1_17_4.tar.bz2 busybox-w32-1_17_4.zip |
Apply post-1.17.3 fixes, bump version to 1.17.41_17_4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/dnsd.c | 2 | ||||
-rw-r--r-- | networking/libiproute/iproute.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/dnsd.c b/networking/dnsd.c index 1a99040ac..81bc93922 100644 --- a/networking/dnsd.c +++ b/networking/dnsd.c | |||
@@ -388,7 +388,7 @@ static int process_packet(struct dns_entry *conf_data, | |||
388 | query_len = strlen(query_string) + 1; | 388 | query_len = strlen(query_string) + 1; |
389 | /* may be unaligned! */ | 389 | /* may be unaligned! */ |
390 | unaligned_type_class = (void *)(query_string + query_len); | 390 | unaligned_type_class = (void *)(query_string + query_len); |
391 | query_len += sizeof(unaligned_type_class); | 391 | query_len += sizeof(*unaligned_type_class); |
392 | /* where to append answer block */ | 392 | /* where to append answer block */ |
393 | answb = (void *)(unaligned_type_class + 1); | 393 | answb = (void *)(unaligned_type_class + 1); |
394 | 394 | ||
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c index d771a609b..7905a7399 100644 --- a/networking/libiproute/iproute.c +++ b/networking/libiproute/iproute.c | |||
@@ -791,8 +791,8 @@ static int iproute_get(char **argv) | |||
791 | } | 791 | } |
792 | req.r.rtm_dst_len = addr.bitlen; | 792 | req.r.rtm_dst_len = addr.bitlen; |
793 | } | 793 | } |
794 | argv++; | ||
795 | } | 794 | } |
795 | argv++; | ||
796 | } | 796 | } |
797 | 797 | ||
798 | if (req.r.rtm_dst_len == 0) { | 798 | if (req.r.rtm_dst_len == 0) { |