diff mbox

[nft] datatype: fix packet mark type name

Message ID CAO0uZ+_a-=vhw9QfUNZ0EdaDE6z+P-gBsfGLDGdTQJVeD3cpTQ@mail.gmail.com
State Not Applicable
Delegated to: Pablo Neira
Headers show

Commit Message

Miroslav Kratochvil June 16, 2015, 3:05 p.m. UTC
Original was conflicting with "mark" keyword from scanner.l, preventing
creation of named sets with this type. Name "packetmark" corresponds
with the documentation, and the renaming can't create any regressions
as the "mark" name could not have been ever used in any setup.

Ref.: https://bugzilla.netfilter.org/show_bug.cgi?id=1012

---
 src/datatype.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

     .byteorder    = BYTEORDER_HOST_ENDIAN,
--
2.1.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/datatype.c b/src/datatype.c
index c93f76a..d204ed1 100644
--- a/src/datatype.c
+++ b/src/datatype.c
@@ -686,7 +686,7 @@  static struct error_record *mark_type_parse(const
struct expr *sym,

 const struct datatype mark_type = {
     .type        = TYPE_MARK,
-    .name        = "mark",
+    .name        = "packetmark",
     .desc        = "packet mark",
     .size        = 4 * BITS_PER_BYTE,