summaryrefslogtreecommitdiff
path: root/ospfd/ospf_packet.h
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2017-11-06 18:17:19 -0800
committerChirag Shah <chirag@cumulusnetworks.com>2017-11-07 18:14:14 -0800
commit046460a1e0e13476bbf7a8118fb2ee1a71c9e563 (patch)
tree92a4116aa7273aa9674ca47da6adc2df137064ec /ospfd/ospf_packet.h
parent6289215c7f569b85b7b181ebb42971931c929717 (diff)
ospfd: flush self-originated lsa upon restart frr
Router-ID change or ospf instance going down, send LS-Upd with MAXAGE to self origintated LSAs to all ospf neighbors. Ticket:CM-1576 Testing Done: Bring R1 - R2, Change Router-ID on R2, restart frr on R2 Validated R1 ospf LSDB for max aged 3600 LSA from R2. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_packet.h')
-rw-r--r--ospfd/ospf_packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_packet.h b/ospfd/ospf_packet.h
index a3617c7bda..78b2b81e50 100644
--- a/ospfd/ospf_packet.h
+++ b/ospfd/ospf_packet.h
@@ -152,7 +152,7 @@ extern void ospf_db_desc_resend(struct ospf_neighbor *);
extern void ospf_ls_req_send(struct ospf_neighbor *);
extern void ospf_ls_upd_send_lsa(struct ospf_neighbor *, struct ospf_lsa *,
int);
-extern void ospf_ls_upd_send(struct ospf_neighbor *, struct list *, int);
+extern void ospf_ls_upd_send(struct ospf_neighbor *, struct list *, int, int);
extern void ospf_ls_ack_send(struct ospf_neighbor *, struct ospf_lsa *);
extern void ospf_ls_ack_send_delayed(struct ospf_interface *);
extern void ospf_ls_retransmit(struct ospf_interface *, struct ospf_lsa *);