summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_packet.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2017-08-11 00:24:24 +0200
committerAndrew Lunn <andrew@lunn.ch>2017-08-11 00:24:24 +0200
commitb1968f83da6e5a6d865d09dcb59a0ec7b89c0f43 (patch)
treeae67e8381598ede603100dedd68de3c60616b0a9 /eigrpd/eigrp_packet.c
parentMerge pull request #952 from lunn/eigrpd-nbr-timer-crash (diff)
downloadfrr-b1968f83da6e5a6d865d09dcb59a0ec7b89c0f43.tar.xz
frr-b1968f83da6e5a6d865d09dcb59a0ec7b89c0f43.zip
eigrpd: fix spelling of "bandwidth"
There are a number of spelling errors in eigrp. But this one is particular annoying because it is a variable name, not in a comment. Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'eigrpd/eigrp_packet.c')
-rw-r--r--eigrpd/eigrp_packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eigrpd/eigrp_packet.c b/eigrpd/eigrp_packet.c
index 3befd8a11..dfc746302 100644
--- a/eigrpd/eigrp_packet.c
+++ b/eigrpd/eigrp_packet.c
@@ -1141,7 +1141,7 @@ struct TLV_IPv4_Internal_type *eigrp_read_ipv4_tlv(struct stream *s)
tlv->length = stream_getw(s);
tlv->forward.s_addr = stream_getl(s);
tlv->metric.delay = stream_getl(s);
- tlv->metric.bandwith = stream_getl(s);
+ tlv->metric.bandwidth = stream_getl(s);
tlv->metric.mtu[0] = stream_getc(s);
tlv->metric.mtu[1] = stream_getc(s);
tlv->metric.mtu[2] = stream_getc(s);
@@ -1210,7 +1210,7 @@ u_int16_t eigrp_add_internalTLV_to_stream(struct stream *s,
/*Metric*/
stream_putl(s, pe->reported_metric.delay);
- stream_putl(s, pe->reported_metric.bandwith);
+ stream_putl(s, pe->reported_metric.bandwidth);
stream_putc(s, pe->reported_metric.mtu[2]);
stream_putc(s, pe->reported_metric.mtu[1]);
stream_putc(s, pe->reported_metric.mtu[0]);