diff options
author | brian <brian@FreeBSD.org> | 1999-04-03 11:54:00 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-04-03 11:54:00 +0000 |
commit | 5db8066ee9cdb955373c32193af6f95f65e204fb (patch) | |
tree | a9278079799020a63ed0219bfde87099a328fb4f /usr.sbin/ppp/hdlc.h | |
parent | affd55a23b9e3a35ceccf2ae330484d3cd15000d (diff) | |
download | FreeBSD-src-5db8066ee9cdb955373c32193af6f95f65e204fb.zip FreeBSD-src-5db8066ee9cdb955373c32193af6f95f65e204fb.tar.gz |
Handle the detection of frames even if we read them
with more than one read(). When we detect one, don't
forget to pass it to async_Input() and drop our
terminal back into command mode.
Don't output an extraneous \r if we're passed \r\n
to prompt_vprintf in raw mode.
Diffstat (limited to 'usr.sbin/ppp/hdlc.h')
-rw-r--r-- | usr.sbin/ppp/hdlc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/hdlc.h b/usr.sbin/ppp/hdlc.h index 14864ce..39d4388 100644 --- a/usr.sbin/ppp/hdlc.h +++ b/usr.sbin/ppp/hdlc.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: hdlc.h,v 1.14.2.12 1998/05/01 19:24:39 brian Exp $ + * $Id: hdlc.h,v 1.15 1998/05/21 21:45:30 brian Exp $ * * TODO: */ @@ -112,4 +112,4 @@ extern void hdlc_DecodePacket(struct bundle *, u_short, struct mbuf *, extern void hdlc_Input(struct bundle *, struct mbuf *, struct physical *); extern void hdlc_Output(struct link *, int, u_short, struct mbuf *bp); extern u_short hdlc_Fcs(u_short, u_char *, int); -extern u_char *hdlc_Detect(struct physical *, u_char *, int); +extern int hdlc_Detect(u_char const **, int, int); |