fix staticchecker warnings for ip
fix staticchecker warnings for ip

Signed-off-by: darshanime <b048a3d8d104e53464fdce5e113778ad2e9730e1@gmail.com>

michi-covalent/cilium,tgraf/cilium,tklauser/cilium,tklauser/cilium,cilium/cilium,tklauser/cilium,tklauser/cilium,cilium/cilium,michi-covalent/cilium,tgraf/cilium,cilium/cilium,tgraf/cilium,tklauser/cilium,tgraf/cilium,michi-covalent/cilium,tgraf/cilium,michi-covalent/cilium,michi-covalent/cilium,tgraf/cilium,cilium/cilium,cilium-team/cilium,cilium/cilium,cilium-team/cilium