Fixed non-oss build broken in Juniper SRX with commit 2614b00c51

This commit is contained in:
Alena Prokharchyk 2013-09-18 16:37:00 -07:00
parent d34b79c970
commit 3ab8d8d8f2
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}