getnics-by-ip: fix for grepping. Thanks to fidaj