summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/ipcp.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-07-28 11:32:08 +0000
committerBrian Somers <brian@FreeBSD.org>2001-07-28 11:32:08 +0000
commit5e3b2d6847bea368e1c03f4de62de7edd5067f9c (patch)
treea455f9c7d7b9b8665276f19ba569deb726871107 /usr.sbin/ppp/ipcp.h
parent43b866b0ed69861df3597a4041cb1a99dd3e733b (diff)
downloadsrc-test2-5e3b2d6847bea368e1c03f4de62de7edd5067f9c.tar.gz
src-test2-5e3b2d6847bea368e1c03f4de62de7edd5067f9c.zip
If the peer sends a REQ without the IPADDR option, only reject it
once. If they repeat the request (again without the IPADDR option) ACK it. I've had reports that some ppp implementations will not assign themselves an IP number. This should negotiate with such things. MFC after: 3 days
Notes
Notes: svn path=/head/; revision=80476
Diffstat (limited to 'usr.sbin/ppp/ipcp.h')
-rw-r--r--usr.sbin/ppp/ipcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ppp/ipcp.h b/usr.sbin/ppp/ipcp.h
index 83350a49307a..0da818d83348 100644
--- a/usr.sbin/ppp/ipcp.h
+++ b/usr.sbin/ppp/ipcp.h
@@ -108,6 +108,7 @@ struct ipcp {
unsigned heis1172 : 1; /* True if he is speaking rfc1172 */
+ unsigned peer_req : 1; /* Any TY_IPADDR REQs from the peer ? */
struct in_addr peer_ip; /* IP address he's willing to use */
u_int32_t peer_compproto; /* VJ params he's willing to use */