#722 manual topology should not allow same left and right port/device
This commit is contained in:
@@ -26,6 +26,9 @@ sub _sanity_ok {
|
||||
return 0 unless param('port1');
|
||||
return 0 unless param('port2');
|
||||
|
||||
return 0 if
|
||||
(($dev1->addr eq $dev2->addr) and (param('port1') eq param('port2')));
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user