diff mbox

[nft,3/3] payload: fix inconsistency in ethertype output

Message ID 1389817823-7251-3-git-send-email-pablo@netfilter.org
State Accepted
Headers show

Commit Message

Pablo Neira Ayuso Jan. 15, 2014, 8:30 p.m. UTC
Use ip6 instead of ipv6.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
 src/payload.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Patrick McHardy Jan. 16, 2014, 4:32 p.m. UTC | #1
On Wed, Jan 15, 2014 at 09:30:23PM +0100, Pablo Neira Ayuso wrote:
> Use ip6 instead of ipv6.

Sorry, didn't see this before. That leaves just the first problem for patch
1/3.

> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
> ---
>  src/payload.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/payload.c b/src/payload.c
> index decfcd6..bfd8ba4 100644
> --- a/src/payload.c
> +++ b/src/payload.c
> @@ -982,7 +982,7 @@ static const struct symbol_table ethertype_tbl = {
>  	.symbols	= {
>  		SYMBOL("ip",		ETH_P_IP),
>  		SYMBOL("arp",		ETH_P_ARP),
> -		SYMBOL("ipv6",		ETH_P_IPV6),
> +		SYMBOL("ip6",		ETH_P_IPV6),
>  		SYMBOL("vlan",		ETH_P_8021Q),
>  		SYMBOL_LIST_END
>  	},
> -- 
> 1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/src/payload.c b/src/payload.c
index decfcd6..bfd8ba4 100644
--- a/src/payload.c
+++ b/src/payload.c
@@ -982,7 +982,7 @@  static const struct symbol_table ethertype_tbl = {
 	.symbols	= {
 		SYMBOL("ip",		ETH_P_IP),
 		SYMBOL("arp",		ETH_P_ARP),
-		SYMBOL("ipv6",		ETH_P_IPV6),
+		SYMBOL("ip6",		ETH_P_IPV6),
 		SYMBOL("vlan",		ETH_P_8021Q),
 		SYMBOL_LIST_END
 	},