proper error-checking can be done, and octal and hexadecimal numbers are allowed.
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.