#722 manual topology should not allow same left and right port/device
This commit is contained in:
1
Changes
1
Changes
@@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* #722 manual topology should not allow same left and right port/device
|
||||||
* #729 Discovery partially fails on invalid indexes
|
* #729 Discovery partially fails on invalid indexes
|
||||||
|
|
||||||
2.045007 - 2020-06-05
|
2.045007 - 2020-06-05
|
||||||
|
|||||||
@@ -26,6 +26,9 @@ sub _sanity_ok {
|
|||||||
return 0 unless param('port1');
|
return 0 unless param('port1');
|
||||||
return 0 unless param('port2');
|
return 0 unless param('port2');
|
||||||
|
|
||||||
|
return 0 if
|
||||||
|
(($dev1->addr eq $dev2->addr) and (param('port1') eq param('port2')));
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user