File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
tools/testing/selftests/net Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -256,6 +256,14 @@ fib_rule6_test()
256
256
fib_rule6_test_match_n_redirect " $match " " $match " \
257
257
" $getnomatch " " sport and dport redirect to table" \
258
258
" sport and dport no redirect to table"
259
+
260
+ match=" sport 100-200 dport 300-400"
261
+ getmatch=" sport 100 dport 400"
262
+ getnomatch=" sport 100 dport 401"
263
+ fib_rule6_test_match_n_redirect " $match " " $getmatch " \
264
+ " $getnomatch " \
265
+ " sport and dport range redirect to table" \
266
+ " sport and dport range no redirect to table"
259
267
fi
260
268
261
269
fib_check_iproute_support " ipproto" " ipproto"
@@ -525,6 +533,14 @@ fib_rule4_test()
525
533
fib_rule4_test_match_n_redirect " $match " " $match " \
526
534
" $getnomatch " " sport and dport redirect to table" \
527
535
" sport and dport no redirect to table"
536
+
537
+ match=" sport 100-200 dport 300-400"
538
+ getmatch=" sport 100 dport 400"
539
+ getnomatch=" sport 100 dport 401"
540
+ fib_rule4_test_match_n_redirect " $match " " $getmatch " \
541
+ " $getnomatch " \
542
+ " sport and dport range redirect to table" \
543
+ " sport and dport range no redirect to table"
528
544
fi
529
545
530
546
fib_check_iproute_support " ipproto" " ipproto"
You can’t perform that action at this time.
0 commit comments