]> git.pld-linux.org Git - packages/ipset.git/blob - kernel-4.17.patch
01370126580319e7d4d5b0b87280d824b65831eb
[packages/ipset.git] / kernel-4.17.patch
1 --- ipset-6.38/configure.ac~    2018-04-10 23:36:27.000000000 +0200
2 +++ ipset-6.38/configure.ac     2018-06-18 20:33:55.197510866 +0200
3 @@ -345,7 +345,7 @@
4  
5  AC_MSG_CHECKING([kernel source for id in struct pernet_operations])
6  if test -f $ksourcedir/include/net/net_namespace.h && \
7 -   $AWK '/struct pernet_operations/ {for(i=1; i<=6; i++) {getline; print}}' $ksourcedir/include/net/net_namespace.h | $GREP -q 'int \*id;'; then
8 +   $AWK '/struct pernet_operations/ {for(i=1; i<=26; i++) {getline; print}}' $ksourcedir/include/net/net_namespace.h | $GREP -q 'int \*id;'; then
9         AC_MSG_RESULT(yes)
10         AC_SUBST(HAVE_NET_OPS_ID, define)
11  else
This page took 0.019321 seconds and 2 git commands to generate.