mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix typo when deregistering the VLAN unconfig event handler
Submitted by: Masao Uebayashi <uebayasi@tombiinc.com> MFC after: 3 days
This commit is contained in:
parent
4b9775d88c
commit
cab10cc1d1
1 changed files with 1 additions and 1 deletions
|
|
@ -443,7 +443,7 @@ vtnet_detach(device_t dev)
|
|||
sc->vtnet_vlan_attach = NULL;
|
||||
}
|
||||
if (sc->vtnet_vlan_detach != NULL) {
|
||||
EVENTHANDLER_DEREGISTER(vlan_unconfg, sc->vtnet_vlan_detach);
|
||||
EVENTHANDLER_DEREGISTER(vlan_unconfig, sc->vtnet_vlan_detach);
|
||||
sc->vtnet_vlan_detach = NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue