diff options
author | Denis Ovsienko <pilot@etcnet.org> | 2009-06-23 21:10:45 +0400 |
---|---|---|
committer | Denis Ovsienko <pilot@etcnet.org> | 2009-06-23 21:10:45 +0400 |
commit | 014b670e02cc1f38e8e4e786269fc1787412f9b7 (patch) | |
tree | f0fa74e181d556d2d83d8db480fab097da72bafa /bgpd/bgp_regex.c | |
parent | d13c3b4fcf802f904ef47ad82fdc9763fc704fdf (diff) |
[bgpd] review 32-bit AS-path hotfix for 0.99.12
The patch by Chris Caputo, which was used to prepare 0.99.12
release, consists of three parts:
1. memory allocation fix itself
2. fix for warnings about constant variables
3. fix for printf format specs (%d was used instead of %u)
It was confirmed later, that:
a. a much simpler bugfix was available for memory allocation
b. committed version of the bugfix wasn't optimal CPU-wise
At this point I consider reasonable to revert the allocation
portion of that patch and to replace it with the shorter
version, which is:
-#define ASN_STR_LEN (5 + 1)
+#define ASN_STR_LEN (10 + 1)
Other two parts of Mr. Caputo's patch remain intact.
Diffstat (limited to 'bgpd/bgp_regex.c')
0 files changed, 0 insertions, 0 deletions