ngrep: fix ipv6

Fixes ipv6 support enabled in #27448.
Is this an official version number?