]> git.puffer.fish Git - mirror/frr.git/commit
[bgpd] Pass NOSUB to regexec
authorPaul Jakma <paul.jakma@sun.com>
Thu, 23 Aug 2007 23:22:02 +0000 (23:22 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Thu, 23 Aug 2007 23:22:02 +0000 (23:22 +0000)
commit6d134fb4defecb16591adbf4acb020acd165a75a
treee88549ea00e5a8b22ffacb36b7b1d2c9d941b664
parentb7fe4141123c6fc26fffec68d0db62ecf474c074
[bgpd] Pass NOSUB to regexec

2007-08-23 Paul Jakma <paul.jakma@sun.com>

* bgp_regex.c: (bgp_regcomp) Pass NOSUB flag to regcomp to
  prevent parsing of substitutions, which can have profound
  performance effects on bgpd and are of no use to the CLI
  anyway. How much it helps depends on the regex
  implementation.
bgpd/ChangeLog
bgpd/bgp_regex.c