From 2e9b24211a523c754b9437d6b742d6df304d8aeb Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 7 Jun 2000 12:29:08 +0000 Subject: Spelling fixes to progdoc. --- proto/bgp/bgp.c | 4 ++-- proto/rip/rip.c | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'proto') diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c index 243942f..cc4c97e 100644 --- a/proto/bgp/bgp.c +++ b/proto/bgp/bgp.c @@ -566,12 +566,12 @@ bgp_init(struct proto_config *C) * bgp_error - report a protocol error * @c: connection * @code: error code (according to the RFC) - * @subcode: error subcode + * @subcode: error sub-code * @data: data to be passed in the Notification message * @len: length of the data * * bgp_error() sends a notification packet to tell the other side that a protocol - * error has occured (including the data considered erroneous if possible) and + * error has occurred (including the data considered erroneous if possible) and * closes the connection. */ void diff --git a/proto/rip/rip.c b/proto/rip/rip.c index 7cefe89..77cef77 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -21,8 +21,8 @@ * DOC: Routing information protocol * * Rip is pretty simple protocol so half of this code is interface - * with core. We maintain our own linklist of &rip_entry - it serves - * as our small routing table. Rip never adds into this linklist at + * with core. We maintain our own linked list of &rip_entry -- it serves + * as our small routing table. Rip never adds into this linked list at * packet reception; instead, it lets core know about data from packet, * and waits for core to call our rip_rte_notify. * @@ -30,7 +30,7 @@ * walked, and packet is generated using rip_tx_prepare(). This gets * tricky because we may need to send more than one packet to one * destination. Struct &rip_connection is used to hold info such as how - * many of &rip_entry ies we already send, and is also used to protect + * many of &rip_entry's we already send, and is also used to protect * from two concurrent sends to one destination. Each &rip_interface has * at most one &rip_connection. * @@ -483,8 +483,8 @@ rip_dump_entry( struct rip_entry *e ) * * Broadcast routing tables periodically (using rip_tx) and kill * routes that are too old. Rip keeps its own entries in main routing - * table linked by link list (functions rip_rte_insert and - * rip_rte_delete are responsible for that), walks this list in timer + * table linked by link list (functions rip_rte_insert() and + * rip_rte_delete() are responsible for that), walks this list in timer * and in case entry is too old, it is discarded. */ @@ -900,7 +900,7 @@ rip_rte_better(struct rte *new, struct rte *old) /* * rip_rte_insert - we maintain linked list of "our" entries in main - * routing table, so that we can timeout them correctly. rip_timer + * routing table, so that we can timeout them correctly. rip_timer() * walks the list. */ static void -- cgit v1.2.3