diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index d110488ba..600c8b27e 100644 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -1974,8 +1974,8 @@ sub do_resetnet { if ( $namehash->{$name} ) { if ( !$ip or $ip eq $namehash->{$name} ) { send_msg( $req, 0, "$name: same ip address, skipping network reset" ); - if ($ip ne $oi) { - $hoststab->setNodeAttribs( $name,{otherinterfaces=>$ip} ); + if ( $ip ne $oi) { + $hoststab->setNodeAttribs( $name,{otherinterfaces=>$namehash->{$name}} ); } next; }