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 c167ac7f83
commit 4e3306ed74

View file

@ -390,7 +390,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"