diff options
author | sotech117 <michael_foiani@brown.edu> | 2023-10-22 09:58:44 -0400 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2023-10-22 09:58:44 -0400 |
commit | dfb6e62b2484660730e271f5568d1366bd439864 (patch) | |
tree | fc815ad764460db50a78fdb92fc8f41258a7562f /pkg/ipstack | |
parent | d7c20268db996cd4a6599d85d0219a525dd43e6e (diff) |
add comments to point out interesting behavior
Diffstat (limited to 'pkg/ipstack')
-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()) |