diff options
Diffstat (limited to 'networking/dnsd.c')
-rw-r--r-- | networking/dnsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/dnsd.c b/networking/dnsd.c index e8dcb40..434903f 100644 --- a/networking/dnsd.c +++ b/networking/dnsd.c @@ -253,7 +253,7 @@ static int process_packet(uint8_t *buf) goto empty_packet; } v32 = a.s_addr; /* in case long != int */ - memcpy(answstr, &v32, 4); + move_to_unaligned32(answstr, v32); outr_rlen = 4; // uint32_t IP } else outr_rlen = strlen((char *)answstr) + 1; // a host name |