sync with OpenBSD -current
This commit is contained in:
parent
b5dda3c267
commit
c78abe7784
59 changed files with 509 additions and 656 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: ppp_tty.c,v 1.54 2022/01/02 22:36:04 jsg Exp $ */
|
||||
/* $OpenBSD: ppp_tty.c,v 1.55 2024/08/17 09:52:11 denis Exp $ */
|
||||
/* $NetBSD: ppp_tty.c,v 1.12 1997/03/24 21:23:10 christos Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -371,6 +371,7 @@ pppwrite(struct tty *tp, struct uio *uio, int flag)
|
|||
bcopy(mtod(m0, u_char *), dst.sa_data, PPP_HDRLEN);
|
||||
m0->m_data += PPP_HDRLEN;
|
||||
m0->m_len -= PPP_HDRLEN;
|
||||
m0->m_pkthdr.ph_rtableid = sc->sc_if.if_rdomain;
|
||||
return sc->sc_if.if_output(&sc->sc_if, m0, &dst, NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue