diff --git a/perl-xCAT/xCAT/PPCfsp.pm b/perl-xCAT/xCAT/PPCfsp.pm index 33a52df4a..86e920d2b 100644 --- a/perl-xCAT/xCAT/PPCfsp.pm +++ b/perl-xCAT/xCAT/PPCfsp.pm @@ -1683,7 +1683,7 @@ sub get_netcfg if ( !defined( $$form )) { return( [RC_ERROR,"'Network Configuration' form not found"] ); } - } else { + } elsif ( $$form->find_input('submit', 'submit', 1) ) { my $data = $$form->click('submit'); $res = $ua->request( $data); $$form = HTML::Form->parse( $res->content, $res->base );