Hi Christian, > It's very tempting to just store a pointer to my private "net" interfaces in > a global variable and use that rather than replicating code between the > "ipsec" and "net". :)
Depends on the details, but I guess if both parts are in the same plugin calling a "public" function that operates on a cached instance of the "net" part should be fine (you can find similar code in the eap-radius plugin, in particular the accounting component). Regards, Tobias
