diff options
author | kris <kris@FreeBSD.org> | 2000-07-20 00:35:37 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-20 00:35:37 +0000 |
commit | c2e76f6679a3f27f42a10c666ec6bc697b39a20e (patch) | |
tree | 30e5faaf4094263bb8c8e443f8bceead69564075 /sys/net | |
parent | c4d081a80705cef90cebf1fbf6b6c63708cbe00d (diff) | |
download | FreeBSD-src-c2e76f6679a3f27f42a10c666ec6bc697b39a20e.zip FreeBSD-src-c2e76f6679a3f27f42a10c666ec6bc697b39a20e.tar.gz |
Temporary hack for the benefit of the X-Bone project
(http://www.isi.edu/xbone). I expect this to go away in due course.
Submitted by: Lars Eggert <larse@ISI.EDU>
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_gif.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index 0337a61..085ff3d 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -470,12 +470,14 @@ gif_ioctl(ifp, cmd, data) sc2->gif_psrc->sa_family != src->sa_family || sc2->gif_psrc->sa_len != src->sa_len) continue; +#ifndef XBONEHACK /* can't configure same pair of address onto two gifs */ if (bcmp(sc2->gif_pdst, dst, dst->sa_len) == 0 && bcmp(sc2->gif_psrc, src, src->sa_len) == 0) { error = EADDRNOTAVAIL; goto bad; } +#endif /* can't configure multiple multi-dest interfaces */ #define multidest(x) \ |