summaryrefslogtreecommitdiffstats
path: root/proto/bgp
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-06-07 14:29:08 +0200
committerMartin Mares <mj@ucw.cz>2000-06-07 14:29:08 +0200
commit2e9b24211a523c754b9437d6b742d6df304d8aeb (patch)
tree8df91a3bdd2a704006dcb2ed97c49c6e4f36158c /proto/bgp
parente403aa89e50471eb6f2838117887b1207627ae3a (diff)
downloadbird-2e9b24211a523c754b9437d6b742d6df304d8aeb.tar
bird-2e9b24211a523c754b9437d6b742d6df304d8aeb.zip
Spelling fixes to progdoc.
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/bgp.c4
1 files changed, 2 insertions, 2 deletions
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