Watch callback not getting called when lldpd learns neighbors #612
-
Hi, I registered a watch callback using lldpctl_watch_callback2, with a running lldpd daemon. I am getting no errors during the registration API. But the callback is not called, when lldpd is learning new neighbor. int ret = lldpctl_watch_callback2(gconn, lldp_neighbor_change_callback, NULL); void lldp_neighbour_change_callback(lldpctl_change_t type, lldpctl_atom_t *interface, lldpctl_atom_t *neighbor, void *data) { lldpcli show neighbors : shows that a neighbor is discovered. Also when update comes to lldpd for that neighbor still callback not called. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Checked the existing lldpcli watch command and implemented the same. |
Beta Was this translation helpful? Give feedback.
Checked the existing lldpcli watch command and implemented the same.