summaryrefslogtreecommitdiffstats
path: root/src/squark-auth-ip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/squark-auth-ip.c')
-rw-r--r--src/squark-auth-ip.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/squark-auth-ip.c b/src/squark-auth-ip.c
index 20c7d35..22e8fc0 100644
--- a/src/squark-auth-ip.c
+++ b/src/squark-auth-ip.c
@@ -126,11 +126,14 @@ int main(int argc, char **argv)
reporting_init("squark-auth-ip");
- while ((opt = getopt(argc, argv, "Vi:u:olpLrsqv::")) != -1) {
+ while ((opt = getopt(argc, argv, "Vc:i:u:olpLrsqv::")) != -1) {
switch (opt) {
case 'V':
fprintf(stderr, "squark-auth-ip %s\n", squark_version);
return 0;
+ case 'c':
+ squark_config = optarg;
+ break;
case 'i':
ip = BLOB_STRLEN(optarg);
if (!addr_parse(ip, &ipaddr)) {