diff options
Diffstat (limited to 'usr.sbin/nsd/nsd-notify.c')
-rw-r--r-- | usr.sbin/nsd/nsd-notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nsd/nsd-notify.c b/usr.sbin/nsd/nsd-notify.c index 32e1ac874e4..54be9bed91a 100644 --- a/usr.sbin/nsd/nsd-notify.c +++ b/usr.sbin/nsd/nsd-notify.c @@ -330,7 +330,7 @@ main (int argc, char *argv[]) /* Set up the header */ OPCODE_SET(q.packet, OPCODE_NOTIFY); - ID_SET(q.packet, 42); /* Does not need to be random. */ + ID_SET(q.packet, qid_generate()); AA_SET(q.packet); QDCOUNT_SET(q.packet, 1); buffer_skip(q.packet, QHEADERSZ); |