Fix build errors and warnings in minimal-net.
Improve some debug messages.
Enable a node to ping6 itself.

Fix comment.

Fix comment.