Sample Netgraph code that unhooks and rehooks without losing
connection
Alexander Motin
mav at freebsd.org
Mon Jul 2 20:42:27 UTC 2007
Martha Pasikatan wrote:
> I would like to be able to unhook a pppoe node hooked to link0 and rehook it to a tee node. Can anyone give me a sample on how to do this?
That's impossible. As soon as pppoe node hook is disconnected all
related info will be destroyed and session will be terminated. You
should put there some other node like ng_tee to prevent session termination.
--
Alexander Motin
More information about the freebsd-net
mailing list