Hi, I refactored 6to4.c code so that netlink functions are moved to inet.c which they more logically belong and also so that these utility functions can be used by other source files. This refactoring is done in patch #1.
During the refactoring I noticed that we do the 6to4 tunneling checks a bit too early meaning that we should wait until the tunnel is up and only after that do the connectivity checks. This is fixed in patch #4 The patches #2 and #3 just add some extra debugging prints that were useful when testing the patches #1 and #2. Cheers, Jukka Jukka Rissanen (4): inet: Refactor rtnl functions in 6to4.c 6to4: Add web debug prints gweb: Add more debug prints when error happens 6to4: Connectivity check was done too early gweb/gweb.c | 3 + src/6to4.c | 283 +++++++++++++++++---------------------------------- src/connman.h | 40 ++++++++ src/inet.c | 311 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 4 files changed, 436 insertions(+), 201 deletions(-) -- 1.7.5.4 _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
