From c302ef700895f0808bb107a2fa560c14c8f3e643 Mon Sep 17 00:00:00 2001 From: Guillaume Nault Date: Fri, 6 Apr 2018 13:33:49 +0200 Subject: [PATCH] bridge: fix typo in hairpin error message No 'g' to hairpin. Fixes: 64108901b737 ("bridge: Add support for setting bridge port attributes") Signed-off-by: Guillaume Nault Signed-off-by: Stephen Hemminger (cherry picked from commit ef3671781644bd1722e55db4ad9d31047da0e42d) Signed-off-by: Phil Sutter --- bridge/link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/link.c b/bridge/link.c index 870ebe0504777..a19bc1097024e 100644 --- a/bridge/link.c +++ b/bridge/link.c @@ -304,7 +304,7 @@ static int brlink_modify(int argc, char **argv) return -1; } else if (strcmp(*argv, "hairpin") == 0) { NEXT_ARG(); - if (!on_off("hairping", &hairpin, *argv)) + if (!on_off("hairpin", &hairpin, *argv)) return -1; } else if (strcmp(*argv, "fastleave") == 0) { NEXT_ARG(); -- 2.17.0