]> xenbits.xensource.com Git - people/pauldu/xennet.git/commit
Fix NDISTest PacketFilters test
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 13 Mar 2015 12:19:37 +0000 (12:19 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Fri, 13 Mar 2015 12:19:37 +0000 (12:19 +0000)
commit1df564a4c96f900b3587aa4c63de85f7f7b4f2cc
tree12b8ff2fd8c7e3645802df68bdce1dc1ddf53131
parent25c166b4c4c2a96e16081690e224266c56b02939
Fix NDISTest PacketFilters test

The PacketFilters test fails because it has apparently discovered a whole
load of invalid filters. This, as it turns out, is not because of any bug
in the query OID code but rather in the set OID code. The code as it stands
returns success even for setting an invalid filter, and this is why the
test believes those filters are enabled.
This patch stops ignoring the resturn code of AdapterSetPacketFilter and
hence fixes the test.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xennet/adapter.c