Advertisement
Guest User

Untitled

a guest
Oct 20th, 2013
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.56 KB | None | 0 0
  1. Date: Mon, 21 Oct 2013 10:13:24 +1100
  2. Subject: [PATCH] Add ms_wins check in IPCP ack
  3.  
  4. ---
  5.  pppd/ipcp.c | 4 ++++
  6.  1 file changed, 4 insertions(+)
  7.  
  8. diff --git a/pppd/ipcp.c b/pppd/ipcp.c
  9. index 12bcc61..8121ee2 100644
  10. --- a/pppd/ipcp.c
  11. +++ b/pppd/ipcp.c
  12. @@ -974,6 +974,10 @@ ipcp_ackci(f, p, len)
  13.  
  14.      ACKCIDNS(CI_MS_DNS2, go->req_dns2, go->dnsaddr[1]);
  15.  
  16. +    ACKCIDNS(CI_MS_WINS1, len, go->winsaddr[0]);
  17. +
  18. +    ACKCIDNS(CI_MS_WINS2, len, go->winsaddr[1]);
  19. +
  20.      /*
  21.       * If there are any remaining CIs, then this packet is bad.
  22.       */
  23. --
  24. 1.8.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement