diff options
author | Tar Committer <tar@ocjtech.us> | 2006-05-04 21:40:56 +0000 |
---|---|---|
committer | Tar Committer <tar@ocjtech.us> | 2006-05-04 21:40:56 +0000 |
commit | 1cc9f22072de1d314a67387aac57740fb25c5258 (patch) | |
tree | f59aa9d622175580add0923bfac8963dc946e98e /bin/lg.cgi.in | |
parent | c0482931956d127b5f09d4a8d72758cd4cb1f097 (diff) | |
download | rancid-1cc9f22072de1d314a67387aac57740fb25c5258.tar.gz rancid-1cc9f22072de1d314a67387aac57740fb25c5258.tar.xz rancid-1cc9f22072de1d314a67387aac57740fb25c5258.zip |
Imported from rancid-2.3.2a4.tar.gz.rancid-2.3.2a4
Diffstat (limited to 'bin/lg.cgi.in')
-rw-r--r-- | bin/lg.cgi.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/lg.cgi.in b/bin/lg.cgi.in index ea0b54e..93e9797 100644 --- a/bin/lg.cgi.in +++ b/bin/lg.cgi.in @@ -1,6 +1,6 @@ #! @PERLV_PATH@ ## -## $Id: lg.cgi.in,v 1.51 2004/05/19 22:59:18 heas Exp $ +## $Id: lg.cgi.in,v 1.52 2005/12/07 19:19:46 heas Exp $ ## ## Copyright (C) 1997-2004 by Terrapin Communications, Inc. ## All rights reserved. @@ -680,7 +680,7 @@ if ($type eq "prefix" || $type eq "mbgp" || $type eq "route" ) { if ($mfg =~ /cisco/i) { $arg = " | include " . join(' ', @arg); } elsif ($mfg =~ /juniper/i) { - $arg = " | match \"" . join(' ', @arg) . "\""; + $arg = " | match \\\"" . join(' ', @arg) . "\\\""; } else { undef($arg); } @@ -738,7 +738,7 @@ if ($type eq "prefix" || $type eq "mbgp" || $type eq "route" ) { } else { $arg =~ s/[\$^]/ /g; } - $arg = "\"$arg\""; + $arg = "\\\"$arg\\\""; } # escape any ()s $arg =~ s/([\(\)])/\\$1/g; |