Changeset 460786f in code for icbd.c


Ignore:
Timestamp:
Mar 6, 2014, 3:30:44 PM (11 years ago)
Author:
Mike Belopuhov <mike@…>
Branches:
master
Children:
be3ad87
Parents:
f3c60e6
git-author:
Mike Belopuhov <mike@…> (03/06/14 15:29:27)
git-committer:
Mike Belopuhov <mike@…> (03/06/14 15:30:44)
Message:

Add command line switch '-n' to disable DNS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icbd.c

    rf3c60e6 r460786f  
    5050int  foreground;
    5151char logprefix[MAXPATHLEN/2];
     52int  dodns = 1;
    5253int  dologging;
    5354int  verbose;
     
    8990        icb_init(&ic);
    9091
    91         while ((ch = getopt(argc, argv, "46CdG:M:L:S:v")) != -1)
     92        while ((ch = getopt(argc, argv, "46CdG:M:nL:S:v")) != -1)
    9293                switch (ch) {
    9394                case '4':
     
    112113                case 'M':
    113114                        icbd_modtab(optarg);
     115                        break;
     116                case 'n':
     117                        dodns = 0;
    114118                        break;
    115119                case 'S':
Note: See TracChangeset for help on using the changeset viewer.