Add ipv6 to ng_cisco node. ipv6 wasn't a reality when I wrote it..

Submitted by: Marko Zec
This commit is contained in:
julian 2007-11-30 23:27:39 +00:00
parent edd33ddaa9
commit 4140cda7c9

View File

@ -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);