ip: add paren to silence warning

Gcc doesn't like mixed || and && in same conditional.
1 file changed