Fix the 'eval: Address:: not found' error that may appear

This commit is contained in:
Glenn Y. Rolland 2022-09-28 15:01:04 +02:00
parent a9b0d34bb2
commit df9c689cba

View file

@ -396,7 +396,7 @@ else
;;
"")
if installed ipcalc; then
eval $(ipcalc -b $IPADDR)
eval "$(ipcalc -b $IPADDR)"
ip netns exec "$NSPID" ip addr add "$IPADDR" brd "$BROADCAST" dev "$CONTAINER_IFNAME"
else
ip netns exec "$NSPID" ip addr add "$IPADDR" dev "$CONTAINER_IFNAME"