head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.8 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.6 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.4 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3 pkgsrc-2010Q4:1.2.0.16 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.14 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.12 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.10 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.8 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.6 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.4 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.2 pkgsrc-2009Q1-base:1.2; locks; strict; comment @# @; 1.3 date 2011.03.19.19.59.48; author spz; state dead; branches; next 1.2; 1.2 date 2009.02.14.22.19.52; author spz; state Exp; branches; next 1.1; 1.1 date 2009.02.14.16.17.06; author spz; state Exp; branches; next ; desc @@ 1.3 log @remove obsolete irrtoolset-nox11 @ text @$NetBSD: patch-dv,v 1.2 2009/02/14 22:19:52 spz Exp $ --- src/RtConfig/RtConfig.cc.orig 2006-10-01 13:23:32.000000000 +0200 +++ src/RtConfig/RtConfig.cc @@@@ -85,6 +85,7 @@@@ bool opt_rusage = false Rusage ru(clog, &opt_rusage); char *opt_prompt = "RtConfig> "; +bool opt_asdot = true; bool RtConfig::supressMartians = false; int RtConfig::preferenceCeiling = 1000; @@@@ -182,8 +183,14 @@@@ void init_and_set_options (int argc, cha IRR_COMMAND_LINE_OPTIONS, + {"-asplain", ARGV_BOOL, (char *) NULL, (char *) &opt_asdot, + "print AS numbers in asplain format."}, + {"-config", ARGV_FUNC, (char *) &select_config_format, (char *) NULL, "Configuration format (junos, cisco, bcc, gated or rsd)"}, + {"-no_default_afi", ARGV_BOOL, (char *) NULL, + (char *) &AddressFamily::noDefaultAfi, + "Do not assume the router defaults to ipv4 unicast address family."}, {"-no_match_ip_inbound", ARGV_BOOL, (char *) NULL, (char *) &CiscoConfig::forcedInboundMatchIP, "Produce a match ip clause for inbound maps.\n\t\t\t\tCisco only."}, @ 1.2 log @add the patch for the -no_default_afi option to RtConfig by David Croft @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @add new option -asplain that makes extended autnums be output as simple numbers instead of in asdot format. @ text @d13 1 a13 1 @@@@ -182,6 +183,9 @@@@ void init_and_set_options (int argc, cha d22 3 d26 2 @