ngrep: fix ipv6

Fixes ipv6 support enabled in #27448.
@mistydemeo, @mikemcquaid it looks like the patch was accepted back in 2007: http://sourceforge.net/p/ngrep/bugs/27/