]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: fix typos
authorckishimo <carles.kishimoto@gmail.com>
Tue, 6 Oct 2020 18:07:53 +0000 (11:07 -0700)
committerckishimo <carles.kishimoto@gmail.com>
Wed, 7 Oct 2020 08:53:13 +0000 (01:53 -0700)
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
ospfd/ospf_flood.c
ospfd/ospf_packet.h

index 58afb2b39282c0dcecdd5f45e21146363becfecf..e96b31e3f4a9e97f8aa3ec873b44f3fda5e39017 100644 (file)
@@ -383,7 +383,7 @@ static int ospf_flood_through_interface(struct ospf_interface *oi,
        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,
@@ -936,7 +936,7 @@ void ospf_ls_retransmit_delete_nbr_as(struct ospf *ospf, struct ospf_lsa *lsa)
 
 
 /* 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)
 {
index 5a3e029f2ea9e7f161a7fce9fbb67158918ed63f..72b87edafb42e5e5f0182f19ab25d75bce82828d 100644 (file)
 #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   /* 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