Add ipv6 to ng_cisco node. ipv6 wasn't a reality when I wrote it..
Submitted by: Marko Zec
This commit is contained in:
parent
9c13c513ad
commit
182ff780b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174118
@ -228,6 +228,9 @@ cisco_newhook(node_p node, hook_p hook, const char *name)
|
||||
} else if (strcmp(name, NG_CISCO_HOOK_INET) == 0) {
|
||||
sc->inet.hook = hook;
|
||||
NG_HOOK_SET_PRIVATE(hook, &sc->inet);
|
||||
} else if (strcmp(name, NG_CISCO_HOOK_INET6) == 0) {
|
||||
sc->inet6.hook = hook;
|
||||
NG_HOOK_SET_PRIVATE(hook, &sc->inet6);
|
||||
} else if (strcmp(name, NG_CISCO_HOOK_APPLETALK) == 0) {
|
||||
sc->atalk.hook = hook;
|
||||
NG_HOOK_SET_PRIVATE(hook, &sc->atalk);
|
||||
|
Loading…
Reference in New Issue
Block a user