From b1968f83da6e5a6d865d09dcb59a0ec7b89c0f43 Mon Sep 17 00:00:00 2001 From: Andrew Lunn Date: Thu, 10 Aug 2017 17:24:24 -0500 Subject: 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 --- eigrpd/eigrp_packet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eigrpd/eigrp_packet.c') 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]); -- cgit v1.2.3