diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-04-15 15:09:30 +0200 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2020-04-21 14:39:42 +0000 |
commit | e2b0961f18c1ba9204013b831797ad94604352ef (patch) | |
tree | 61f374d096242c01fdd223287b7bdf0b54788a32 /ggsn/ggsn.c | |
parent | ff2ebee03baf92609dc14bb1324cd069bf5c8323 (diff) |
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
Diffstat (limited to 'ggsn/ggsn.c')
-rw-r--r-- | ggsn/ggsn.c | 5 |
1 files changed, 0 insertions, 5 deletions
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) { |