summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/pap.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-09-04 00:00:21 +0000
committerbrian <brian@FreeBSD.org>1999-09-04 00:00:21 +0000
commitdcb79a71e6383c101218c59ed4feb6708a40b81a (patch)
tree8c060c30bd6bd3880f7c8ac84b8114e6b91f1603 /usr.sbin/ppp/pap.c
parenta14fe466b1bc7f6e0a024da706d5f849e07a3b40 (diff)
downloadFreeBSD-src-dcb79a71e6383c101218c59ed4feb6708a40b81a.zip
FreeBSD-src-dcb79a71e6383c101218c59ed4feb6708a40b81a.tar.gz
o Split the two IPCP queues into three - one for FSM data
(LCP/CCP/IPCP), one for urgent IP traffic and one for everything else. o Add the ``set urgent'' command for adjusting the list of urgent port numbers. The default urgent ports are 21, 22, 23, 513, 514, 543 and 544 (Ports 80 and 81 have been removed from the default priority list). o Increase the buffered packet threshold from 20 to 30. o Report the number of packets in the IP output queue and the list of urgent ports under ``show ipcp''.
Diffstat (limited to 'usr.sbin/ppp/pap.c')
-rw-r--r--usr.sbin/ppp/pap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/pap.c b/usr.sbin/ppp/pap.c
index 618bf28..f283d3a 100644
--- a/usr.sbin/ppp/pap.c
+++ b/usr.sbin/ppp/pap.c
@@ -94,7 +94,8 @@ pap_Req(struct authinfo *authp)
cp += namelen;
*cp++ = keylen;
memcpy(cp, bundle->cfg.auth.key, keylen);
- link_PushPacket(&authp->physical->link, bp, bundle, PRI_LINK, PROTO_PAP);
+ link_PushPacket(&authp->physical->link, bp, bundle,
+ LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP);
}
static void
@@ -118,7 +119,7 @@ SendPapCode(struct authinfo *authp, int code, const char *message)
log_Printf(LogPHASE, "Pap Output: %s\n", papcodes[code]);
link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle,
- PRI_LINK, PROTO_PAP);
+ LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP);
}
static void
OpenPOWER on IntegriCloud