summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1999-10-29 17:57:42 +0000
committerjoerg <joerg@FreeBSD.org>1999-10-29 17:57:42 +0000
commit2997de7f2f8690623c3c48e8e176212a5a554fb9 (patch)
tree58ee8f3e20bc5a51b7f4a03968620eee5db3e994 /sys/net
parentd9bac1e9bec138c1b808713e973f926ce055bcf6 (diff)
downloadFreeBSD-src-2997de7f2f8690623c3c48e8e176212a5a554fb9.zip
FreeBSD-src-2997de7f2f8690623c3c48e8e176212a5a554fb9.tar.gz
When getting a RCN event in state ACK_RCVD, RFC 1661 demands that we
go to REQ_SENT (and we probably should also log this since it should only happen in a cross-linked connection). Submitted by: Mark Tinguely <tinguely@plains.NoDak.edu>
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_spppsubr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 1f07990..133af2b 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1399,7 +1399,7 @@ sppp_cp_input(const struct cp *cp, struct sppp *sp, struct mbuf *m)
(cp->tld)(sp);
/* fall through */
case STATE_ACK_RCVD:
- sppp_cp_change_state(cp, sp, STATE_ACK_SENT);
+ sppp_cp_change_state(cp, sp, STATE_REQ_SENT);
(cp->scr)(sp);
break;
case STATE_CLOSING:
OpenPOWER on IntegriCloud