iptables-1.3.2-20050720
[iptables.git] / extensions / libipt_TCPLAG.c
index 27361e7..3042d73 100644 (file)
@@ -70,18 +70,6 @@ static const struct option opts[] =
  * our own private data structure (which is at t->data).
  * Probably we could fiddle with t->tflags too but there is
  * no great advantage in doing so.
- * 
- * TODO: Find documentation for the above flags which
- *       can be ored into nfcache...
- *
- * NFC_IP6_DST_PT
- * NFC_IP6_PROTO_UNKNOWN
- * NFC_IP6_SRC_PT
- * NFC_IP6_TCPFLAGS
- * NFC_IP_DST_PT
- * NFC_IP_SRC_PT
- * NFC_IP_TOS
- * NFC_UNKNOWN             -- This one seems safest
  */
 static void init( struct ipt_entry_target *t, unsigned int *nfcache )
 {
@@ -89,7 +77,6 @@ static void init( struct ipt_entry_target *t, unsigned int *nfcache )
        memset( el, 0, sizeof( struct ipt_tcplag ));
        el->level = 4; /* Default to warning level */
        strcpy( el->prefix, "TCPLAG:" ); /* Give a reasonable default prefix */
-       *nfcache |= NFC_UNKNOWN;
 }
 
 /*
@@ -208,7 +195,7 @@ static struct iptables_target targ =
 {
 next:            0,
 name:             "TCPLAG",
-version:          "1.2.3",
+version:          IPTABLES_VERSION,
 size:             IPT_ALIGN( sizeof( struct ipt_tcplag )),
 userspacesize:    IPT_ALIGN( sizeof( struct ipt_tcplag )),
 help:             &help,