Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions overlay/tun_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,11 @@ func (t *tun) updateRoutes(r netlink.RouteUpdate) {
return
}

if r.Dst == nil {
t.l.WithField("route", r).Debug("Ignoring route update, no destination address")
return
}

dstAddr, ok := netip.AddrFromSlice(r.Dst.IP)
if !ok {
t.l.WithField("route", r).Debug("Ignoring route update, invalid destination address")
Expand Down
Loading