summaryrefslogtreecommitdiff
path: root/pkgsrc
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2012-12-07 16:35:00 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2013-01-14 16:09:20 +0100
commita0de1d16cd00694b07b266d4a5dae5985e9072ff (patch)
tree93924a57c690d75454b3489df7f87021fbf4dcde /pkgsrc
parentb06b35f0754747f9f178be155a2903b360aa2b6c (diff)
bgpd: fix a bug in bgp_attr_dup
Commit 558d1fec11749d3257e improved bgp_attr_dup so it would be possible for the caller to provide attr_extra, allowing to use the stack instead of the heap for operations requiring only a short lived attr. However, this commit introduced a bug where bgp_attr_dup wouldn't copy attr_extra at all (but provide a reference to the original) if the caller provided attr_extra. Cc: Jorge Boncompte [DTI2] <jorge@dti2.net> Signed-off-by: Christian Franke <chris@opensourcerouting.org> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pkgsrc')
0 files changed, 0 insertions, 0 deletions