libnet.cpp: add wildcard