summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-08-05 15:29:52 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2021-08-05 15:29:52 +0200
commit639caccfebc9871d913d7b075430bdce0d60f2d3 (patch)
tree1575c03aeebe319034b89d75c071d6d2200c69a4 /ripd
parentMerge pull request #9050 from LabNConsulting/chopps/reset-parallel (diff)
downloadfrr-639caccfebc9871d913d7b075430bdce0d60f2d3.tar.xz
frr-639caccfebc9871d913d7b075430bdce0d60f2d3.zip
bgpd: Fix misleading comments for some parts
Mostly just retrun => return and misleading comments at all. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'ripd')
-rw-r--r--ripd/rip_snmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_snmp.c b/ripd/rip_snmp.c
index d49d360b7..824cbd8cf 100644
--- a/ripd/rip_snmp.c
+++ b/ripd/rip_snmp.c
@@ -166,7 +166,7 @@ static uint8_t *rip2Globals(struct variable *v, oid name[], size_t *length,
if (!rip)
return NULL;
- /* Retrun global counter. */
+ /* Return global counter. */
switch (v->magic) {
case RIP2GLOBALROUTECHANGES:
return SNMP_INTEGER(rip->counters.route_changes);