tests/netfilter_pkt: allow for a greater number of netfilter fields
Paul Moore
maintainerPATCH 1/1 tests/netfilter_pkt: allow for a greater number of netfilter fields
Current in-development kernels include source and destination port fields in the NETFILTER_PKT record, adjust the test so that both old and new formats are supported.
Future work could include verification of these additional fields, but put this quick fix in place now.
--- tests/netfilter_pkt/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/netfilter_pkt/test +1 -1
@@ -147,7 +147,7 @@ for ( 0 .. $#tests ) { } for ( 0 .. $#tests ) { - ok( $fields[$_] == $fields ); # $_ Correct number of fields? + ok( $fields[$_] >= $fields ); # $_ Correct number of fields? } ###
Signature · 1 line
2.52.0
Paul Moore
maintainerQuoted 5 lines · Paul Moore
Current in-development kernels include source and destination port fields in the
NETFILTER_PKTrecord, adjust the test so that both old and new formats are supported.
Quoted 7 lines
Future work could include verification of these additional fields, but put this quick fix in place now.
Signed-off-by Paul Moore <[email protected]>--- tests/netfilter_pkt/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Merged.
Signature · 1 line
paul-moore.com
Quoted 8 lines · Paul Moore
Quoted 7 lines · Paul Moore
Current in-development kernels include source and destination port fields in the
NETFILTER_PKTrecord, adjust the test so that both old and new formats are supported.Future work could include verification of these additional fields, but put this quick fix in place now.
Quoted 6 lines
Quoted 4 lines
Signed-off-by Paul Moore <[email protected]>--- tests/netfilter_pkt/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Merged.
Thank you.
Quoted 1 line
paul-moore.com
- RGB
--
Richard Guy Briggs <[email protected]>
Sr. S/W Engineer, Kernel Security, Base Operating Systems Remote, Ottawa, Red Hat Canada
Upstream IRC: SunRaycer
Voice: +1.613.860 2354 SMS: +1.613.518.6570