ngrep: fix ipv6

Fixes ipv6 support enabled in #27448.
no.