diff -r 57e6d7218427 tools/examples/vif-common.sh --- a/tools/examples/vif-common.sh Fri Feb 3 18:45:14 2006 +++ b/tools/examples/vif-common.sh Wed Feb 8 16:08:56 2006 @@ -125,7 +125,7 @@ # function ip_of() { - ip addr show "$1" | awk "/^.*inet.*$1\$/{print \$2}" | sed 's,/.*,,' + ip addr show "$1" | awk "/^.*inet.*$1\$/{print \$2}" | sed 's,/.*,,' | head -1 }