diff options
author | ckishimo <carles.kishimoto@gmail.com> | 2020-10-06 20:07:53 +0200 |
---|---|---|
committer | ckishimo <carles.kishimoto@gmail.com> | 2020-10-07 10:53:13 +0200 |
commit | 96fad84aa0663ec861b4580a1deeed8c6513b964 (patch) | |
tree | 1d04483c95a0d6e41e952e4c598f0267a09f086b | |
parent | Merge pull request #7248 from donaldsharp/revert_7113 (diff) | |
download | frr-96fad84aa0663ec861b4580a1deeed8c6513b964.tar.xz frr-96fad84aa0663ec861b4580a1deeed8c6513b964.zip |
ospfd: fix typos
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
-rw-r--r-- | ospfd/ospf_flood.c | 4 | ||||
-rw-r--r-- | ospfd/ospf_packet.h | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/ospfd/ospf_flood.c b/ospfd/ospf_flood.c index 58afb2b39..e96b31e3f 100644 --- a/ospfd/ospf_flood.c +++ b/ospfd/ospf_flood.c @@ -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) { diff --git a/ospfd/ospf_packet.h b/ospfd/ospf_packet.h index 5a3e029f2..72b87edaf 100644 --- a/ospfd/ospf_packet.h +++ b/ospfd/ospf_packet.h @@ -33,11 +33,11 @@ #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 |