mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2025-02-22 08:29:06 +00:00
Forgot one flag in response (AUTHORATIVE) - doesn't work without!
This commit is contained in:
parent
dd75189919
commit
9e8b944c7f
@ -214,6 +214,7 @@ netbios_recv(void *arg, struct udp_pcb *upcb, struct pbuf *p, struct ip_addr *ad
|
||||
netbios_resp.resp_hdr.trans_id = netbios_hdr->trans_id;
|
||||
netbios_resp.resp_hdr.flags = htons(NETB_HFLAG_RESPONSE |
|
||||
NETB_HFLAG_OPCODE_NAME_QUERY |
|
||||
NETB_HFLAG_AUTHORATIVE |
|
||||
NETB_HFLAG_RECURS_DESIRED);
|
||||
netbios_resp.resp_hdr.questions = 0;
|
||||
netbios_resp.resp_hdr.answerRRs = htons(1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user