busybox: nslookup: ensure unique transaction IDs for the DNS queries
On machines with a coarse monotonic clock (here: TP-Link RE200 powered by a MediaTek MT7620A) it can happen that the two DNS requests (for A and AAAA) share the same transaction ID. If this happens the second reply is wrongly dropped and nslookup reports "No answer". Fix this by ensuring that the transaction IDs are unique. Signed-off-by: NUwe Kleine-König <uwe@kleine-koenig.org> (cherry picked from commit 63e5ba8e) Signed-off-by: NChristian Marangi <ansuelsmth@gmail.com>
Showing
想要评论请 注册 或 登录