Merge pull request #7250 from ckishimo/typos

ospfd: fix typos
This commit is contained in:
Donatas Abraitis 2020-10-07 14:43:09 +03:00 committed by GitHub
commit 0ed866fd21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View 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)
{

View File

@ -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