// vim: sw=8 ts=8
char const *cvs_name = "$Name: $";
-char const *cvs_id_cli = "$Id: cli.c,v 1.35 2004/11/29 03:55:19 bodea Exp $";
+char const *cvs_id_cli = "$Id: cli.c,v 1.36 2004/11/29 06:30:05 bodea Exp $";
#include <stdio.h>
#include <stdarg.h>
if (a < argc && MATCH("fragments", argv[a]))
{
+ if (rule.src_ports.op || rule.dest_ports.op || rule.tcp_flag_op)
+ {
+ cli_print(cli, "Can't specify \"fragments\" on rules with layer 4 matches");
+ return NULL;
+ }
+
rule.frag = 1;
a++;
}