The ntk-console client command console_uptime should now not print negative numbers, And inet_sendto should now properly print ipv4 addresses in a human readable format.
I just noticed that inet_sendto does NOT call inet_send as I previously assumed, It calls sendto itself. I guess I didn't see that it didn't have inet_ before it. I, Also, Realised that this means that the fragmentation code I copied from inet_send won't work because it calls inet_send instead of inet_sendto. I, Also, Realised that, I need to add the inet_sendto arguments as well. This should fix the cannot send(): Destination address required errors.
I just made a change and realised, If the the EMSGSIZE case is ever called upon, We won't know if that is actually an error or not. It has a procedure to resolve it, And if we see a big error message, It might scare us even though it is probably fixed. We, Also, Don't know if the error message is for the same packet, or another. I will have to look into fixing this.
The Merge should now be complete! Please revert if anything was removed accidentally or that you would like to be replaced. Especially revert if any problems/regressions are noticed! - Valeska
A comment to explain how inet_send works with the EMSGSIZE case.
I almost made a very complicated and unneeded change instead of just leaving it as it is because I didn't think of this. So I want this to be here so everyone can understand how this works.
gmap: Limit new IPv4 nodes to a class-b private network
* 172 is generally used for auto-config... so it fits
well with the ad-hoc mesh nature of Netsukuku
* IPv6 could be limited to a uni-cast local address
as well.