summaryrefslogtreecommitdiffstats
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorajs <ajs>2005-07-26 19:55:31 +0000
committerajs <ajs>2005-07-26 19:55:31 +0000
commit24c221362db33989366e39f2ae2ad3c428f2f67b (patch)
treea13cad7ee766ee55170c7524a449649fb45ed7b8 /zebra/interface.c
parenta0fd8eada803d94bbdbb5d5debbfaf1495223dcb (diff)
downloadquagga-24c221362db33989366e39f2ae2ad3c428f2f67b.tar.bz2
quagga-24c221362db33989366e39f2ae2ad3c428f2f67b.tar.xz
2005-07-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* prefix.c: (prefix_ipv4_new, prefix_ipv6_new): Call prefix_new to allocate the memory to make sure that all struct prefix pointers point to objects of the same length (avoids memory overruns on struct prefix assignments). (prefix_ipv4_free, prefix_ipv6_free): Simply call prefix_free. It is interesting to note that these functions are never actually called anywhere in the code. Instead prefix_free was already being called directly, despite the previous MTYPE incompatibility. [backport candidate]
Diffstat (limited to 'zebra/interface.c')
0 files changed, 0 insertions, 0 deletions