Skip to content

Commit

Permalink
More removal of server pid file handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mherrb committed Jan 20, 2014
1 parent dc274fa commit cc93f6f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions dhcp6s.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,10 @@ static inline char *clientstr(struct host_conf *, struct duid *);
int
main(int argc, char *argv[])
{
int ch, pid;
int ch;
struct in6_addr a;
struct dhcp6_listval *dlv;
char *progname;
FILE *pidfp;

if ((progname = strrchr(*argv, '/')) == NULL)
progname = *argv;
Expand All @@ -238,7 +237,7 @@ main(int argc, char *argv[])
TAILQ_INIT(&bcmcslist);
TAILQ_INIT(&bcmcsnamelist);

while ((ch = getopt(argc, argv, "c:dDfk:n:p:P:")) != -1) {
while ((ch = getopt(argc, argv, "c:dDfk:n:p:")) != -1) {
switch (ch) {
case 'c':
conffile = optarg;
Expand Down Expand Up @@ -337,7 +336,7 @@ usage(void)
{
fprintf(stderr,
"usage: dhcp6s [-c configfile] [-dDf] [-k ctlkeyfile] "
"[-p ctlport] [-P pidfile] intface\n");
"[-p ctlport] interface\n");
exit(0);
}

Expand Down

0 comments on commit cc93f6f

Please sign in to comment.