Skip to content
Snippets Groups Projects
Commit d33cc274 authored by Ryan Izard's avatar Ryan Izard
Browse files

VLAN wildcard is null, unlike others. REST API now returns correct devices...

VLAN wildcard is null, unlike others. REST API now returns correct devices across all VLANS when VLAN is unspecified.
parent f60ae53a
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ public abstract class AbstractDeviceResource extends ServerResource {
get(IDeviceService.class.getCanonicalName());
MacAddress macAddress = MacAddress.NONE;
VlanVid vlan = VlanVid.ZERO;
VlanVid vlan = null; /* must be null for don't care */
IPv4Address ipv4Address = IPv4Address.NONE;
IPv6Address ipv6Address = IPv6Address.NONE;
DatapathId switchDPID = DatapathId.NONE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment