diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2017-09-14 19:48:03 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2017-09-14 19:48:03 +0200 |
commit | 7aa278e4c474adfac06ddb35584b31534366628f (patch) | |
tree | d55e26a339c4b1c1faa752ab6e657ad69e05e077 /include/libipset/linux_ip_set.h | |
parent | 4fc1ac6a4016c1e09cc393dfedb7eb4e9678efd3 (diff) |
Fix the include guards on the include/libipset/linux_ip_set*.h
The include guards did not prevent including the "same" userspace
and kernel header files.
Fixes bugzilla id #1139, reported and solution suggested by Quentin Armitage.
Diffstat (limited to 'include/libipset/linux_ip_set.h')
-rw-r--r-- | include/libipset/linux_ip_set.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/libipset/linux_ip_set.h b/include/libipset/linux_ip_set.h index def91b9..883922d 100644 --- a/include/libipset/linux_ip_set.h +++ b/include/libipset/linux_ip_set.h @@ -7,8 +7,8 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#ifndef _UAPI_IP_SET_H -#define _UAPI_IP_SET_H +#ifndef _IP_SET_H +#define _IP_SET_H #include <linux/types.h> @@ -118,6 +118,7 @@ enum { IPSET_ATTR_SKBMARK, IPSET_ATTR_SKBPRIO, IPSET_ATTR_SKBQUEUE, + IPSET_ATTR_PAD, __IPSET_ATTR_ADT_MAX, }; #define IPSET_ATTR_ADT_MAX (__IPSET_ATTR_ADT_MAX - 1) @@ -300,4 +301,4 @@ struct ip_set_req_version { unsigned int version; }; -#endif /* _UAPI_IP_SET_H */ +#endif /* _IP_SET_H */ |