From 425a0359597e2327792e64b67d4f8167c79ca22b Mon Sep 17 00:00:00 2001 From: Philip Prindeville Date: Thu, 2 Nov 2017 21:14:00 -0600 Subject: [PATCH] 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 --- extensions/libxt_geoip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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