if (!ospf_if_is_enable(oi))
return 0;
- /* Remember if new LSA is aded to a retransmit list. */
+ /* Remember if new LSA is added to a retransmit list. */
retx_flag = 0;
/* Each of the neighbors attached to this interface are examined,
/* Sets ls_age to MaxAge and floods throu the area.
- When we implement ASE routing, there will be anothe function
+ When we implement ASE routing, there will be another function
flushing an LSA from the whole domain. */
void ospf_lsa_flush_area(struct ospf_lsa *lsa, struct ospf_area *area)
{
#define OSPF_LS_UPD_MIN_SIZE 4U
#define OSPF_LS_ACK_MIN_SIZE 0U
-#define OSPF_MSG_HELLO 1 /* OSPF Hello Message. */
-#define OSPF_MSG_DB_DESC 2 /* OSPF Database Descriptoin Message. */
-#define OSPF_MSG_LS_REQ 3 /* OSPF Link State Request Message. */
-#define OSPF_MSG_LS_UPD 4 /* OSPF Link State Update Message. */
-#define OSPF_MSG_LS_ACK 5 /* OSPF Link State Acknoledgement Message. */
+#define OSPF_MSG_HELLO 1 /* OSPF Hello Message. */
+#define OSPF_MSG_DB_DESC 2 /* OSPF Database Description Message. */
+#define OSPF_MSG_LS_REQ 3 /* OSPF Link State Request Message. */
+#define OSPF_MSG_LS_UPD 4 /* OSPF Link State Update Message. */
+#define OSPF_MSG_LS_ACK 5 /* OSPF Link State Acknowledgement Message. */
#define OSPF_SEND_PACKET_DIRECT 1
#define OSPF_SEND_PACKET_INDIRECT 2