]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
xt_geoip: fix typo in error message
authorPhilip Prindeville <philipp@redfish-solutions.com>
Fri, 3 Nov 2017 03:14:00 +0000 (21:14 -0600)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Fri, 3 Nov 2017 03:14:00 +0000 (21:14 -0600)
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 <philipp@redfish-solutions.com>
extensions/libxt_geoip.c

index ecc78014a097bc352560bd62aa6a2066e34619f3..7be427f9f05363ae966fc4292b064ce27862aa70 100644 (file)
@@ -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