diff -r 7aa4e7349c45 -r 3f2df469f683 tools/hotplug/NetBSD/vif-bridge --- a/tools/hotplug/NetBSD/vif-bridge +++ b/tools/hotplug/NetBSD/vif-bridge @@ -23,7 +23,7 @@ 2) xbridge=$(xenstore-read "$xpath/bridge") xfid=$(xenstore-read "$xpath/frontend-id") xhandle=$(xenstore-read "$xpath/handle") - iface=xvif$xfid.$xhandle + iface=$(xenstore-read "$xpath/vifname") echo ifconfig $iface up ifconfig $iface up brconfig $xbridge add $iface diff -r 7aa4e7349c45 -r 3f2df469f683 tools/hotplug/NetBSD/vif-ip --- a/tools/hotplug/NetBSD/vif-ip +++ b/tools/hotplug/NetBSD/vif-ip @@ -23,7 +23,7 @@ 2) xip=$(xenstore-read "$xpath/ip") xfid=$(xenstore-read "$xpath/frontend-id") xhandle=$(xenstore-read "$xpath/handle") - iface=xvif$xfid.$xhandle + iface=$(xenstore-read "$xpath/vifname") echo ifconfig $iface $xip up ifconfig $iface $xip up xenstore-write $xpath/hotplug-status connected