xt_TARPIT: support for Linux 4.1

This commit is contained in:
Alexander Petrenas
2015-06-23 13:44:50 +03:00
committed by Jan Engelhardt
parent 5e22c9c592
commit 96ce5ec488
4 changed files with 25 additions and 1 deletions

View File

@@ -63,8 +63,10 @@ if test -n "$kbuilddir"; then
echo "WARNING: Version detection did not succeed. Continue at own luck.";
else
echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir";
if test "$kmajor" -gt 3 -o "$kmajor" -eq 3 -a "$kminor" -gt 17; then
if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 1; then
echo "WARNING: That kernel version is not officially supported yet. Continue at own luck.";
elif test "$kmajor" -eq 4 -a "$kminor" -le 1; then
:;
elif test "$kmajor" -eq 3 -a "$kminor" -ge 7; then
:;
else