summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/i4b.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-08-16 13:54:04 +0000
committerbrian <brian@FreeBSD.org>2000-08-16 13:54:04 +0000
commit65f020c63bc5a8b47c5dd3fb658fb13bf16b8c11 (patch)
tree352b8206cbdbf0e811c4ea8d477bcbc6ca23c9be /usr.sbin/ppp/i4b.c
parent1483cf9cb70695ead4dc8e82732bb7812735b523 (diff)
downloadFreeBSD-src-65f020c63bc5a8b47c5dd3fb658fb13bf16b8c11.zip
FreeBSD-src-65f020c63bc5a8b47c5dd3fb658fb13bf16b8c11.tar.gz
ISDN B channels have a bandwidth of 64000, not 65536
Pointed out by: Christian Weisgerber <naddy@mips.inka.de>
Diffstat (limited to 'usr.sbin/ppp/i4b.c')
-rw-r--r--usr.sbin/ppp/i4b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/i4b.c b/usr.sbin/ppp/i4b.c
index cd77d41..fe82fae 100644
--- a/usr.sbin/ppp/i4b.c
+++ b/usr.sbin/ppp/i4b.c
@@ -250,7 +250,7 @@ i4b_Speed(struct physical *p)
if (tcgetattr(p->fd, &ios) == -1 ||
(ret = SpeedToInt(cfgetispeed(&ios))) == 0)
- ret = 65536;
+ ret = 64000;
return ret;
}
OpenPOWER on IntegriCloud