From e2b0961f18c1ba9204013b831797ad94604352ef Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 15 Apr 2020 15:09:30 +0200 Subject: sgsnemu: Handle IPv6 SLAAC in tun iface manually Disable IPv6 automatic SLAAC by linux kernel and handle it manually. This allows us gaining control on local address acquisition and set addresses and routing properly. It will also allow us to run in ping mode without a tun iface. Related: OS#4434 Change-Id: Iae59cf6ffb181357e10b3080a5c751bd454f4a1f --- ggsn/ggsn.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ggsn') diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c index 3b10f70..159362f 100644 --- a/ggsn/ggsn.c +++ b/ggsn/ggsn.c @@ -636,11 +636,6 @@ static int cb_tun_ind(struct tun_t *tun, void *pack, unsigned len) return 0; } -/* RFC3307 link-local scope multicast address */ -static const struct in6_addr all_router_mcast_addr = { - .s6_addr = { 0xff,0x02,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,2 } -}; - /* MS-originated GTP1-U packet, needs to be sent via TUN device */ static int encaps_tun(struct pdp_t *pdp, void *pack, unsigned len) { -- cgit v1.2.3