--- ../patch-o-matic-ng/patchlets/geoip/iptables/extensions/libxt_geoip.c.orig 2008-02-13 17:03:42.000000000 +0100 +++ ../patch-o-matic-ng/patchlets/geoip/iptables/extensions/libxt_geoip.c 2008-03-15 20:05:46.000000000 +0100 @@ -46,11 +46,11 @@ } static struct option geoip_opts[] = { - { "dst-cc", 1, 0, '2' }, /* Alias for --destination-country */ - { "destination-country", 1, 0, '2' }, - { "src-cc", 1, 0, '1' }, /* Alias for --source-country */ - { "source-country", 1, 0, '1' }, - { 0 }, + { .name = "dst-cc", .has_arg = 1, .flag = 0, .val = '2' }, /* Alias for --destination-country */ + { .name = "destination-country", .has_arg = 1, .flag = 0, .val = '2' }, + { .name = "src-cc", .has_arg = 1, .flag = 0, .val = '1' }, /* Alias for --source-country */ + { .name = "source-country", .has_arg = 1, .flag = 0, .val = '1' }, + { .name = NULL } }; /* NOT IMPLEMENTED YET