openbsd-ports/net/wide-dhcp/patches/patch-client_dhcpc.c
avsm a0882217cf commit this three-month old patch that was posted to ports@ with no
response.  Does anyone out there use this port at all?  It was broken,
this unbreaks it by FAKEing it, but there's noone using it to test
it out....
2001-01-09 20:49:33 +00:00

79 lines
2.6 KiB
C

*** client/dhcpc.c.orig Mon Jul 7 15:08:35 1997
--- client/dhcpc.c Wed Apr 29 15:32:20 1998
***************
*** 990,997 ****
*param_list = tmpparam;
param_list->lease_origin = init_epoch;
param_list->next = NULL;
! syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %d secs)",
! inet_ntoa(param_list->yiaddr), param_list->lease_duration);
arp_reply(&param_list->yiaddr, &arpif);
return(BOUND);
}
--- 990,997 ----
*param_list = tmpparam;
param_list->lease_origin = init_epoch;
param_list->next = NULL;
! syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %ld secs)",
! inet_ntoa(param_list->yiaddr), (long)param_list->lease_duration);
arp_reply(&param_list->yiaddr, &arpif);
return(BOUND);
}
***************
*** 1240,1247 ****
param_list->next = NULL;
sigsetmask(oldsigmask); /* end critical */
! syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %d secs)",
! inet_ntoa(param_list->yiaddr), param_list->lease_duration);
arp_reply(&param_list->yiaddr, &arpif);
return(BOUND);
}
--- 1240,1247 ----
param_list->next = NULL;
sigsetmask(oldsigmask); /* end critical */
! syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %ld secs)",
! inet_ntoa(param_list->yiaddr), (long)param_list->lease_duration);
arp_reply(&param_list->yiaddr, &arpif);
return(BOUND);
}
***************
*** 1379,1386 ****
param_list->next = NULL;
sigsetmask(oldsigmask); /* end critical */
! syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %d secs)",
! inet_ntoa(param_list->yiaddr), param_list->lease_duration);
arp_reply(&param_list->yiaddr, &arpif);
return(BOUND);
}
--- 1379,1386 ----
param_list->next = NULL;
sigsetmask(oldsigmask); /* end critical */
! syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %ld secs)",
! inet_ntoa(param_list->yiaddr), (long)param_list->lease_duration);
arp_reply(&param_list->yiaddr, &arpif);
return(BOUND);
}
***************
*** 1659,1666 ****
param_list->next = NULL;
sigsetmask(oldsigmask); /* end critical */
! syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %d secs)",
! inet_ntoa(param_list->yiaddr), param_list->lease_duration);
arp_reply(&param_list->yiaddr, &arpif);
return(BOUND);
}
--- 1659,1666 ----
param_list->next = NULL;
sigsetmask(oldsigmask); /* end critical */
! syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %ld secs)",
! inet_ntoa(param_list->yiaddr), (long)param_list->lease_duration);
arp_reply(&param_list->yiaddr, &arpif);
return(BOUND);
}