summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ncpaddr.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-08-16 02:01:05 +0000
committerbrian <brian@FreeBSD.org>2001-08-16 02:01:05 +0000
commit9311b9a0c6a95eb3d50f008413e9402f009fc9c2 (patch)
tree335ec6fcb40828e986dc81fcd542ae2daf394fae /usr.sbin/ppp/ncpaddr.h
parent435f044654f35938fd5c9737d37e646786365f27 (diff)
downloadFreeBSD-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/ncpaddr.h')
-rw-r--r--usr.sbin/ppp/ncpaddr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ppp/ncpaddr.h b/usr.sbin/ppp/ncpaddr.h
index 98ca582..2b3c546 100644
--- a/usr.sbin/ppp/ncpaddr.h
+++ b/usr.sbin/ppp/ncpaddr.h
@@ -59,6 +59,7 @@ struct ncpaddr {
struct ncp;
extern void ncpaddr_init(struct ncpaddr *);
+extern int ncpaddr_isset(const struct ncpaddr *);
extern int ncpaddr_isdefault(const struct ncpaddr *);
extern int ncpaddr_equal(const struct ncpaddr *, const struct ncpaddr *);
extern void ncpaddr_copy(struct ncpaddr *, const struct ncpaddr *);
OpenPOWER on IntegriCloud