Commit 64702af5 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Handle protogeni namespace correctly.

parent 5c23a121
......@@ -677,8 +677,8 @@ sub GetSharedLanName($)
my $interface_name = FindNodesNS("n:link_shared_vlan", $iface,
$SHAREDVLAN_NS)->pop();
if (! defined($interface_name)) {
$interface_name = FindNodeNS("n:link_shared_vlan", $iface,
$SHAREDVLAN_PG_NS)->pop();
$interface_name = FindNodesNS("n:link_shared_vlan", $iface,
$SHAREDVLAN_PG_NS)->pop();
}
if (defined($interface_name)) {
my $name = GetText("name", $interface_name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment