Fix the 'eval: Address:: not found' error that may appear
This commit is contained in:
parent
a9b0d34bb2
commit
df9c689cba
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ else
|
||||||
;;
|
;;
|
||||||
"")
|
"")
|
||||||
if installed ipcalc; then
|
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"
|
ip netns exec "$NSPID" ip addr add "$IPADDR" brd "$BROADCAST" dev "$CONTAINER_IFNAME"
|
||||||
else
|
else
|
||||||
ip netns exec "$NSPID" ip addr add "$IPADDR" dev "$CONTAINER_IFNAME"
|
ip netns exec "$NSPID" ip addr add "$IPADDR" dev "$CONTAINER_IFNAME"
|
||||||
|
|
Loading…
Reference in a new issue