Netdev List
 help / color / mirror / Atom feed
* [PATCH iproute2] bridge: trivial: Fix typo in error message (hairpin)
@ 2013-11-07 11:09 Guillaume Nault
  0 siblings, 0 replies; only message in thread
From: Guillaume Nault @ 2013-11-07 11:09 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

Option name is hairpin (without 'g').

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
---
 bridge/link.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bridge/link.c b/bridge/link.c
index 38dfaea..a82cce0 100644
--- a/bridge/link.c
+++ b/bridge/link.c
@@ -271,7 +271,7 @@ static int brlink_modify(int argc, char **argv)
 				exit(-1);
 		} else if (strcmp(*argv, "hairpin") == 0) {
 			NEXT_ARG();
-			if (!on_off("hairping", &hairpin, *argv))
+			if (!on_off("hairpin", &hairpin, *argv))
 				exit(-1);
 		} else if (strcmp(*argv, "fastleave") == 0) {
 			NEXT_ARG();
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-07 11:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07 11:09 [PATCH iproute2] bridge: trivial: Fix typo in error message (hairpin) Guillaume Nault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox