From a5a25abca76075ef60f654889847887373050b84 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 13 Dec 2010 18:12:26 +0000 Subject: [PATCH] Do not disable ipforwarding git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/AAsn.pm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/AAsn.pm b/xCAT-server/lib/xcat/plugins/AAsn.pm index f5fdbf99b..be00455f2 100644 --- a/xCAT-server/lib/xcat/plugins/AAsn.pm +++ b/xCAT-server/lib/xcat/plugins/AAsn.pm @@ -262,17 +262,6 @@ sub init_plugin { xCAT::Utils->update_xCATSN($service); } - } else { - - $rc = xCAT::NetworkUtils->setup_ip_forwarding(0); # disable ip forwarding - if ($rc == 0) - { - #remove the service from the /etc/xCATSN file - my $text=`sed -e "/$service/d" /etc/xCATSN`; - if ($?==0) { - `echo "$text" > /etc/xCATSN`; - } - } } } else # management node