Minor fixes and updates in ifreset, iftest, and ip-nat