use a more portable negated if structure. from portable
regression test for port number parsing. written as part of the a2portchange that went into 5.2 but I forgot to commit it at the time...