diff options
| author | thorpej <thorpej@NetBSD.org> | 2000-07-05 21:32:51 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2000-07-05 21:32:51 +0000 |
| commit | f77f419c5044c2aa4e259d1dc39a03335d17df45 (patch) | |
| tree | a910e4d694a6ac7d65f8cb1ecc1ff30d4f73927e /sys | |
| parent | 434860386265a4e38276ea8656d729d27b02c007 (diff) | |
Make that note that we really should be checking the viftable
in ip_mroute.c for duplicate tunnel entries, too. Well, what
really needs to happen is that the mrouting code needs to be
changed to work w/ `gif' tunnels... but...
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/netinet/ip_encap.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/netinet/ip_encap.c b/sys/netinet/ip_encap.c index 1dc4e80e1d1..e96df5b7615 100644 --- a/sys/netinet/ip_encap.c +++ b/sys/netinet/ip_encap.c @@ -1,4 +1,4 @@ -/* $NetBSD: ip_encap.c,v 1.2 2000/07/05 18:45:26 thorpej Exp $ */ +/* $NetBSD: ip_encap.c,v 1.3 2000/07/05 21:32:51 thorpej Exp $ */ /* $KAME: ip_encap.c,v 1.30 2000/04/19 04:29:37 itojun Exp $ */ /* @@ -386,6 +386,12 @@ encap_attach(af, proto, sp, sm, dp, dm, psw, arg) goto fail; } + /* + * XXX NEED TO CHECK viftable IN THE ip_mroute CODE!!! + * XXX Actually, that code needs to be replaced with + * XXX new code that uses `gif' tunnels. + */ + ep = malloc(sizeof(*ep), M_NETADDR, M_NOWAIT); /*XXX*/ if (ep == NULL) { error = ENOBUFS; |
