{ "-q", Parameter::PT_IMPLIED, nullptr, nullptr,
"quiet mode - Don't show banner and status report" },
+ { "-R", Parameter::PT_STRING, nullptr, nullptr,
+ "<rules> include this rules file in the default policy" },
+
{ "-r", Parameter::PT_STRING, nullptr, nullptr,
"<pcap>... (same as --pcap-list)" },
else if ( v.is("-q") )
ConfigQuiet(sc, v.get_string());
+ else if ( v.is("-R") )
+ {
+ string s = "include ";
+ s += v.get_string();
+ parser_append_rules(s.c_str());
+ }
else if ( v.is("-r") || v.is("--pcap-list") )
{
Trough_Multi(SOURCE_LIST, v.get_string());
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+// ring.h author Russ Combs <rucombs@cisco.com>
//-------------------------------------------------------------------
// simple ring
+/*
+** Copyright (C) 2014 Cisco and/or its affiliates. All rights reserved.
+**
+** This program is free software; you can redistribute it and/or modify
+** it under the terms of the GNU General Public License Version 2 as
+** published by the Free Software Foundation. You may not use, modify or
+** distribute this program under any other version of the GNU General
+** Public License.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+// ring_logic.h author Russ Combs <rucombs@cisco.com>
+
//-------------------------------------------------------------------
// simple ring logic
//-------------------------------------------------------------------