summaryrefslogtreecommitdiffstats
path: root/lib/vrf.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-01-15 19:34:23 +0100
committerRenato Westphal <renato@opensourcerouting.org>2019-02-11 18:49:49 +0100
commitd01b92fd7507d64bec89350daf725aa6fb9fdcf4 (patch)
treee11fcaa40c9fe08b636f8ca58b786a7766a065ed /lib/vrf.h
parentMerge pull request #3770 from donaldsharp/detailed_debugs (diff)
downloadfrr-d01b92fd7507d64bec89350daf725aa6fb9fdcf4.tar.xz
frr-d01b92fd7507d64bec89350daf725aa6fb9fdcf4.zip
libs, daemons: changes to permit c++ compilation
Some misc changes to resolve some c++ compilation errors. The goal is only to permit an external module - a plugin, for example - to see frr headers, not to support or encourage contributions in c++. The changes include: avoiding use of keywords like 'new', 'delete'; cleaning up implicit type-casting from 'void *' in several places. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/vrf.h')
-rw-r--r--lib/vrf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vrf.h b/lib/vrf.h
index e80796f48..20ca85d09 100644
--- a/lib/vrf.h
+++ b/lib/vrf.h
@@ -200,7 +200,7 @@ extern int vrf_bitmap_check(vrf_bitmap_t, vrf_id_t);
* the system ( 2 and 3 ) above.
*/
extern void vrf_init(int (*create)(struct vrf *vrf), int (*enable)(struct vrf *vrf),
- int (*disable)(struct vrf *vrf), int (*delete)(struct vrf *vrf),
+ int (*disable)(struct vrf *vrf), int (*destroy)(struct vrf *vrf),
int (*update)(struct vrf *vrf));
/*