History

netfilter: remove deprecation warnings from uapi headers.

There are two netfilter userspace headers which contain deprecation warnings. While these headers are not used within the kernel, they are compiled stand-alone for header-testing. Pablo informs me that userspace iptables still refer to these headers, and the intention was to use xt_LOG.h instead and remove these, but userspace was never updated. Remove the warnings.

Jeremy Sowden committed 7 years ago

Commit 707816c1 parent 5181b472 files · +0 −4Browse files

Showing the changes to include/uapi/linux (2 of 2 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/netfilter_ipv4/ipt_LOG.h +0 −2
  2. include/uapi/linux/netfilter_ipv6/ip6t_LOG.h +0 −2
include/uapi/linux/netfilter_ipv4/ipt_LOG.h+0−2
@@ -2,8 +2,6 @@ · 1 unmodified line
2#ifndef _IPT_LOG_H2#ifndef _IPT_LOG_H
3#define _IPT_LOG_H3#define _IPT_LOG_H
4 4
5#warning "Please update iptables, this file will be removed soon!"
6
7/* make sure not to change this without changing netfilter.h:NF_LOG_* (!) */5/* make sure not to change this without changing netfilter.h:NF_LOG_* (!) */
8#define IPT_LOG_TCPSEQ 0x01 /* Log TCP sequence numbers */6#define IPT_LOG_TCPSEQ 0x01 /* Log TCP sequence numbers */
9#define IPT_LOG_TCPOPT 0x02 /* Log TCP options */7#define IPT_LOG_TCPOPT 0x02 /* Log TCP options */
include/uapi/linux/netfilter_ipv6/ip6t_LOG.h+0−2
@@ -2,8 +2,6 @@ · 1 unmodified line
2#ifndef _IP6T_LOG_H2#ifndef _IP6T_LOG_H
3#define _IP6T_LOG_H3#define _IP6T_LOG_H
4 4
5#warning "Please update iptables, this file will be removed soon!"
6
7/* make sure not to change this without changing netfilter.h:NF_LOG_* (!) */5/* make sure not to change this without changing netfilter.h:NF_LOG_* (!) */
8#define IP6T_LOG_TCPSEQ 0x01 /* Log TCP sequence numbers */6#define IP6T_LOG_TCPSEQ 0x01 /* Log TCP sequence numbers */
9#define IP6T_LOG_TCPOPT 0x02 /* Log TCP options */7#define IP6T_LOG_TCPOPT 0x02 /* Log TCP options */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t