diff --git a/src/confd/bin/gen-interfaces b/src/confd/bin/gen-interfaces index 778e0b22..63954c6d 100755 --- a/src/confd/bin/gen-interfaces +++ b/src/confd/bin/gen-interfaces @@ -125,7 +125,7 @@ ifaces="" for phy in $phys_ifaces; do found="" for port in $ports; do - if [ $port = $phy ]; then + if [ "$port" = "$phy" ]; then found=true break fi @@ -168,8 +168,8 @@ fi cat <