diff options
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 1a99040..81bc939 100644 --- a/networking/dnsd.c +++ b/networking/dnsd.c @@ -388,7 +388,7 @@ static int process_packet(struct dns_entry *conf_data, query_len = strlen(query_string) + 1; /* may be unaligned! */ unaligned_type_class = (void *)(query_string + query_len); - query_len += sizeof(unaligned_type_class); + query_len += sizeof(*unaligned_type_class); /* where to append answer block */ answb = (void *)(unaligned_type_class + 1); diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c index d771a60..7905a73 100644 --- a/networking/libiproute/iproute.c +++ b/networking/libiproute/iproute.c @@ -791,8 +791,8 @@ static int iproute_get(char **argv) } req.r.rtm_dst_len = addr.bitlen; } - argv++; } + argv++; } if (req.r.rtm_dst_len == 0) { |