Oops. broken backwards compat.

This commit is contained in:
bg- 2006-09-07 17:05:21 +00:00
parent 35e6053795
commit 63c431a271
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
* *
* This file is part of the uIP TCP/IP stack. * This file is part of the uIP TCP/IP stack.
* *
* $Id: tunslip.c,v 1.2 2006/09/07 15:48:47 bg- Exp $ * $Id: tunslip.c,v 1.3 2006/09/07 17:05:21 bg- Exp $
* *
*/ */
@ -831,7 +831,7 @@ main(int argc, char **argv)
* agent. * agent.
*/ */
if (argc == 4) { if (argc == 4) {
dhcp_server = optarg; dhcp_server = argv[3];
} }
if (dhcp_server != NULL) { if (dhcp_server != NULL) {
struct sockaddr_in myaddr; struct sockaddr_in myaddr;