diff options
-rw-r--r-- | pkg/ipstack/ipstack.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/ipstack/ipstack.go b/pkg/ipstack/ipstack.go index 5160ab2..7a5c235 100644 --- a/pkg/ipstack/ipstack.go +++ b/pkg/ipstack/ipstack.go @@ -721,7 +721,9 @@ func handleRIP(src *Interface, dest *Neighbor, message []byte, hdr *ipv4header.I continue } - fmt.Println(address) + // TODO: investigate this. should we be sharing local nodes too? + // potentially, may have to apply mask first + // fmt.Println(address) prefix := netip.PrefixFrom(netip.MustParseAddr(address), int(entry.mask)) // fmt.Println(prefix.String()) |