From: Philip Prindeville Date: Fri, 3 Nov 2017 03:14:00 +0000 (-0600) Subject: xt_geoip: fix typo in error message X-Git-Tag: v3.3~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=425a0359597e2327792e64b67d4f8167c79ca22b;p=thirdparty%2Fxtables-addons.git xt_geoip: fix typo in error message Make both instances of the same message (about invalid country codes) be consistent with each other. If you have scripts which capture and collate error messages, then having consistent strings to match against is a win. Signed-off-by: Philip Prindeville --- diff --git a/extensions/libxt_geoip.c b/extensions/libxt_geoip.c index ecc7801..7be427f 100644 --- a/extensions/libxt_geoip.c +++ b/extensions/libxt_geoip.c @@ -135,7 +135,7 @@ check_geoip_cc(char *cc, u_int16_t cc_used[], u_int8_t count) cc[i] = toupper(cc[i]); else xtables_error(PARAMETER_PROBLEM, - "geoip: invalid country code '%s'", cc); + "geoip: invalid country code '%s'", cc); /* Convert chars into a single 16 bit integer. * FIXME: This assumes that a country code is