diff options
Diffstat (limited to 'kiss/kissattach.c')
-rw-r--r-- | kiss/kissattach.c | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kiss/kissattach.c b/kiss/kissattach.c index 0f62892..e30ed05 100644 --- a/kiss/kissattach.c +++ b/kiss/kissattach.c @@ -234,32 +234,32 @@ int main(int argc, char *argv[]) while ((fd = getopt(argc, argv, "b6i:lm:v")) != -1) { switch (fd) { - case '6': - disc = N_6PACK; - break; - case 'b': - allow_broadcast = 1; - break; - case 'i': - fprintf(stderr, "%s: -i flag depreciated, use new command line format instead.\n", progname); - inetaddr = optarg; - break; - case 'l': - logging = TRUE; - break; - case 'm': - if ((mtu = atoi(optarg)) <= 0) { - fprintf(stderr, "%s: invalid mtu size - %s\n", progname, optarg); - return 1; - } - break; - case 'v': - printf("%s: %s\n", progname, VERSION); - return 0; - case ':': - case '?': - usage(); + case '6': + disc = N_6PACK; + break; + case 'b': + allow_broadcast = 1; + break; + case 'i': + fprintf(stderr, "%s: -i flag depreciated, use new command line format instead.\n", progname); + inetaddr = optarg; + break; + case 'l': + logging = TRUE; + break; + case 'm': + if ((mtu = atoi(optarg)) <= 0) { + fprintf(stderr, "%s: invalid mtu size - %s\n", progname, optarg); return 1; + } + break; + case 'v': + printf("%s: %s\n", progname, VERSION); + return 0; + case ':': + case '?': + usage(); + return 1; } } |