From b856832809c309292538370ddcca92ff7da41574 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Thu, 27 Mar 2014 23:02:45 +0000 Subject: [PATCH] fix minor typo for iface --> ifname --- xCAT/postscripts/routeop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/routeop b/xCAT/postscripts/routeop index 8fb22fc6f..c0297364f 100755 --- a/xCAT/postscripts/routeop +++ b/xCAT/postscripts/routeop @@ -439,7 +439,7 @@ if [ "$op" = "add" ]; then else if [ "$(uname -s)" = "Linux" ]; then if [ "$gw" = "" -o "$gw" = "0.0.0.0" ] ; then - cmd="route add -net $net netmask $mask dev $iface" + cmd="route add -net $net netmask $mask dev $ifname" else cmd="route add -net $net netmask $mask gw $gw" fi