typo
authorBrendan O'Dea <bod@optus.net>
Mon, 29 Nov 2004 12:36:54 +0000 (12:36 +0000)
committerBrendan O'Dea <bod@optus.net>
Mon, 29 Nov 2004 12:36:54 +0000 (12:36 +0000)
cli.c

diff --git a/cli.c b/cli.c
index b4f578d..24e9115 100644 (file)
--- a/cli.c
+++ b/cli.c
@@ -2,7 +2,7 @@
 // vim: sw=8 ts=8
 
 char const *cvs_name = "$Name:  $";
-char const *cvs_id_cli = "$Id: cli.c,v 1.36 2004-11-29 06:30:05 bodea Exp $";
+char const *cvs_id_cli = "$Id: cli.c,v 1.37 2004-11-29 12:36:54 bodea Exp $";
 
 #include <stdio.h>
 #include <stdarg.h>
@@ -2688,7 +2688,7 @@ ip_filter_rulet *access_list_rule_ext(struct cli_def *cli, char *command, char *
 
        if (a < argc && MATCH("fragments", argv[a]))
        {
-               if (rule.src_ports.op || rule.dest_ports.op || rule.tcp_flag_op)
+               if (rule.src_ports.op || rule.dst_ports.op || rule.tcp_flag_op)
                {
                        cli_print(cli, "Can't specify \"fragments\" on rules with layer 4 matches");
                        return NULL;