1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
$NetBSD: patch-bx,v 1.1 2005/08/26 08:41:46 spz Exp $
--- src/RtConfig/RtConfig.cc.orig 2004-07-30 12:58:10.000000000 +0200
+++ src/RtConfig/RtConfig.cc
@@ -111,8 +111,8 @@ typedef struct {
} config_format_type;
CiscoConfig ciscoConfig;
-/*
JunosConfig junosConfig;
+/*
GatedConfig gatedConfig;
RSdConfig rsdConfig;
BccConfig bccConfig;
@@ -122,7 +122,7 @@ config_format_type config_formats[] = {
// { "rsd", &rsdConfig },
// { "gated", &gatedConfig },
{ "cisco", &ciscoConfig },
-// { "junos", &junosConfig },
+ { "junos", &junosConfig },
// { "bcc", &bccConfig },
// { "rsd", rsd_process_line },
{ "", 0 }
@@ -214,11 +214,9 @@ void init_and_set_options (int argc, cha
{"-cisco_empty_lists", ARGV_BOOL,
(char *) NULL, (char *) &CiscoConfig::emptyLists,
"Generate access lists for ANY and NOT ANY prefix filters.\n\t\t\t\tCisco only."},
-
-/* {"-junos_no_compress_acls", ARGV_BOOL,
+ {"-junos_no_compress_acls", ARGV_BOOL,
(char *) NULL, (char *) &JunosConfig::compressAcls,
"Do not combine multiple route-filter lines into a single line whenever possible.\n\t\t\t\tJunos only."},
-*/
{(char *) NULL, ARGV_END, (char *) NULL, (char *) NULL,
(char *) NULL}
};
|