diff options
Diffstat (limited to 'networking/dnsd.c')
-rw-r--r-- | networking/dnsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/dnsd.c b/networking/dnsd.c index 6771c5346..c76a54f9e 100644 --- a/networking/dnsd.c +++ b/networking/dnsd.c | |||
@@ -480,7 +480,8 @@ int dnsd_main(int argc UNUSED_PARAM, char **argv) | |||
480 | unsigned lsa_size; | 480 | unsigned lsa_size; |
481 | int udps, opts; | 481 | int udps, opts; |
482 | uint16_t port = 53; | 482 | uint16_t port = 53; |
483 | uint8_t buf[MAX_PACK_LEN + 1]; | 483 | /* Ensure buf is 32bit aligned (we need 16bit, but 32bit can't hurt) */ |
484 | uint8_t buf[MAX_PACK_LEN + 1] ALIGN4; | ||
484 | 485 | ||
485 | opts = getopt32(argv, "vsi:c:t:p:d", &listen_interface, &fileconf, &sttl, &sport); | 486 | opts = getopt32(argv, "vsi:c:t:p:d", &listen_interface, &fileconf, &sttl, &sport); |
486 | //if (opts & (1 << 0)) // -v | 487 | //if (opts & (1 << 0)) // -v |