[pkt-gen] avoid segfault when not using netmap
[pkt-gen] avoid segfault when not using netmap

Before this patch pkg-gen used to segfault if you
try to open a tap from the file descriptor side.

luigirizzo/netmap,luigirizzo/netmap,luigirizzo/netmap,luigirizzo/netmap,luigirizzo/netmap