On Sun, 27 Aug 2017, Christian Kujau wrote:
> > can u say what gdb says when u type
> > # frame 2
> > # print daemon->edns_pktsz
> 
> Hm, this doesn't work:

Hah, in another attempt this worked:

(gdb) frame 2
#2  0x0040d047 in receive_query (listen=listen@entry=0x8202c0, 
now=now@entry=1503822478) at forward.c:1433
1433          m = answer_request(header, ((char *) header) + udp_size, 
(size_t)n, 
(gdb) print daemon->edns_pktsz
$1 = 4096

This is from dnsmasq v2.77, cross-compiled for MIPS 24K and linked against 
musl, so it would run on my ar71xx type router (where I noticed the crash 
in the first place).

Christian.
-- 
BOFH excuse #185:

system consumed all the paper for paging

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to