Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vrrp: asynchronous events on VR state change
[vpp.git]
/
src
/
plugins
/
vrrp
/
vrrp.c
diff --git
a/src/plugins/vrrp/vrrp.c
b/src/plugins/vrrp/vrrp.c
index
37ee9ec
..
771cd70
100644
(file)
--- a/
src/plugins/vrrp/vrrp.c
+++ b/
src/plugins/vrrp/vrrp.c
@@
-351,6
+351,8
@@
vrrp_vr_transition (vrrp_vr_t * vr, vrrp_vr_state_t new_state, void *data)
/* add/delete virtual MAC address on NIC if necessary */
vrrp_vr_transition_vmac (vr, new_state);
/* add/delete virtual MAC address on NIC if necessary */
vrrp_vr_transition_vmac (vr, new_state);
+ vrrp_vr_event (vr, new_state);
+
vr->runtime.state = new_state;
}
vr->runtime.state = new_state;
}