mirror of
https://github.com/opnsense/src.git
synced 2026-04-05 01:15:30 -04:00
Send the negotiated session ID on our packets (DUH!).
This commit is contained in:
parent
9fcb3d8332
commit
cfbcfe6272
1 changed files with 2 additions and 1 deletions
|
|
@ -1025,6 +1025,7 @@ AAA
|
|||
neg = sp->neg;
|
||||
untimeout(pppoe_ticker, sendhook,
|
||||
neg->timeout_handle);
|
||||
neg->pkt->pkt_header.ph.sid = wh->ph.sid;
|
||||
sp->Session_ID = ntohs(wh->ph.sid);
|
||||
neg->timeout = 0;
|
||||
sp->state = PPPOE_CONNECTED;
|
||||
|
|
@ -1290,7 +1291,7 @@ AAA
|
|||
strncpy(tag->tag_data, SIGNOFF, msglen);
|
||||
m->m_pkthdr.len = (m->m_len += sizeof(*tag) + msglen);
|
||||
wh->ph.length = htons(sizeof(*tag) + msglen);
|
||||
NG_MESSAGE_SEND(error, privp->ethernet_hook, m, dummy);
|
||||
NG_SEND_DATA(error, privp->ethernet_hook, m, dummy);
|
||||
}
|
||||
if (sp->neg) {
|
||||
untimeout(pppoe_ticker, hook, sp->neg->timeout_handle);
|
||||
|
|
|
|||
Loading…
Reference in a new issue