Commit c5fe0e4c authored by Franco Fichtner's avatar Franco Fichtner

interfaces: remove netgraph now that plugins habe stubs, closes #1188

parent 2ee77e70
......@@ -210,7 +210,7 @@ function interface_vlan_configure(&$vlan)
} else {
$tmpvlanif = legacy_interface_create('vlan');
legacy_interface_rename($tmpvlanif, $vlanif);
legacy_netgraph_rename($tmpvlanif, $vlanif);
mwexecf('/usr/sbin/ngctl name %s: %s', array($tmpvlanif, $vlanif));
}
legacy_vlan_tag($vlanif, $if, $vlan['tag']);
......
......@@ -282,21 +282,6 @@ function legacy_interface_details($intf)
return legacy_interfaces_details($intf)[$intf];
}
function legacy_netgraph_attach($ifs)
{
/* XXX compat stub for plugins to be removed in 17.1 */
}
function legacy_netgraph_detach($ifs)
{
/* XXX compat stub for plugins to be removed in 17.1 */
}
function legacy_netgraph_rename($tmpifs, $ifs)
{
mwexecf('/usr/sbin/ngctl name %s: %s', array($tmpifs, $ifs));
}
/**
* configure interface hardware settings
* @param string $ifs 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