libCNI upgraded to v1.1.2

This was all work done previously by @hswong3i in
https://github.com/weaveworks/weave/pull/3939

All credit to them
This commit is contained in:
Raj Chaudhuri committed 2023-03-29 12:10:13 +05:30
1 parent 2f49b8455a
commit 1bb1f02b1d
167 files changed
+15015 -3146

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ func isLocalNodeIP(ip string) bool {
return false
}
for _, addr := range addrs {
if addr.Peer.IP.String() == ip {
if addr.Peer != nil && addr.Peer.IP.String() == ip {
return true
}
}