diff options
author | brian <brian@FreeBSD.org> | 2001-08-16 02:01:05 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-08-16 02:01:05 +0000 |
commit | 9311b9a0c6a95eb3d50f008413e9402f009fc9c2 (patch) | |
tree | 335ec6fcb40828e986dc81fcd542ae2daf394fae /usr.sbin/ppp/route.h | |
parent | 435f044654f35938fd5c9737d37e646786365f27 (diff) | |
download | FreeBSD-src-9311b9a0c6a95eb3d50f008413e9402f009fc9c2.zip FreeBSD-src-9311b9a0c6a95eb3d50f008413e9402f009fc9c2.tar.gz |
Specify the gateway address when updating the MTU and send/recv pipe
sizes on a route.
IMHO this shouldn't be necessary (the destination & mask/prefixlen
should be enough), but without it, the default route update under
OpenBSD will fail.
Thanks to: Russell T Hunt <alaric@MIT.EDU>
Diffstat (limited to 'usr.sbin/ppp/route.h')
-rw-r--r-- | usr.sbin/ppp/route.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/route.h b/usr.sbin/ppp/route.h index f2ebd0e..edf6604 100644 --- a/usr.sbin/ppp/route.h +++ b/usr.sbin/ppp/route.h @@ -69,4 +69,5 @@ extern void route_ShowSticky(struct prompt *, struct sticky_route *, extern void route_ParseHdr(struct rt_msghdr *, struct sockaddr *[RTAX_MAX]); extern int rt_Set(struct bundle *, int, const struct ncprange *, const struct ncpaddr *, int, int); -extern void rt_Update(struct bundle *, const struct ncprange *); +extern void rt_Update(struct bundle *, const struct sockaddr *, + const struct sockaddr *, const struct sockaddr *); |