mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8749: KVM - cleanup linklocal interface based on names
This tries to avoid cleaning by a device name. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> This closes #718
This commit is contained in:
parent
1a106ec16f
commit
74f697a2dd
|
|
@ -287,7 +287,7 @@ public class BridgeVifDriver extends VifDriverBase {
|
|||
for (String line : lines) {
|
||||
String[] tokens = line.split(" ");
|
||||
if (!tokens[2].equalsIgnoreCase(linkLocalBr)) {
|
||||
Script.runSimpleBashScript("ip route del " + NetUtils.getLinkLocalCIDR());
|
||||
Script.runSimpleBashScript("ip route del " + NetUtils.getLinkLocalCIDR() + " dev " + tokens[2]);
|
||||
} else {
|
||||
foundLinkLocalBr = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue