Displaying 1 result from an estimated 1 matches for "set_vendor_identifi".
Did you mean:
set_vendor_identifier
2010 Aug 24
0
[PATCH]: Exiting -1 if dhcp client failed
..._main(int argc, char *argv[])
{
struct netdev *dev;
int c, port;
- int err;
+ int err=0;
/* If progname is set we're invoked from another program */
if (!progname) {
-740,6 +742,9 @@ int ipconfig_main(int argc, char *argv[])
/* Default vendor identifier */
set_vendor_identifier("Linux ipconfig");
+ /* Reseting the exit code to 0*/
+ err=0;
+
do {
c = getopt(argc, argv, "c:d:i:onp:t:");
if (c == EOF)
-802,8 +807,8 @@ int ipconfig_main(int argc, char *argv[])
"dest to %d\n",...