mirror of https://github.com/apache/cloudstack.git
Fixed non-oss build broken in Juniper SRX with commit 2614b00c51
This commit is contained in:
parent
d34b79c970
commit
3ab8d8d8f2
|
|
@ -700,7 +700,7 @@ public class JuniperSrxResource implements ServerResource {
|
|||
Long publicVlanTag = null;
|
||||
if (ip.getBroadcastUri() != null && !ip.getBroadcastUri().equals("untagged")) {
|
||||
try {
|
||||
publicVlanTag = Long.parseLong(BroadcastDomainType.getValue(ip.getVlanId()));
|
||||
publicVlanTag = Long.parseLong(ip.getBroadcastUri());
|
||||
} catch (Exception e) {
|
||||
throw new ExecutionException("Could not parse public VLAN tag: " + ip.getBroadcastUri());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue