Packet routing logic.
Consistency fix.
Merge branch 'master' of github.com:zcecc22/zdht