libnet: avoid failing setting up filter with e1000 like cardnames
authorRoni Häcki <roni.haecki@inf.ethz.ch>
Mon, 18 Sep 2017 14:00:53 +0000 (16:00 +0200)
committerRoni Häcki <roni.haecki@inf.ethz.ch>
Mon, 18 Sep 2017 14:00:53 +0000 (16:00 +0200)
commitd56a7fb0ac788bf75089be583d6982242e3480ef
tree47c8196c3793dce3ebf29df8c13ee474618a7c15
parentec1916763fc85195f72575f3a01404d32fdab89e
libnet: avoid failing setting up filter with e1000 like cardnames

e1000 cardname was of the form e1000:vendor:bus:device:function ..
where other cardnames were simply in the form of the name itself.

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>
lib/net/net_filter.c