mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
(1) This is a classic example of a "trivial fix" blowing up on one's face
unless you test it, Brian. :) (Directory path prefix was wrong.) (2) Also, this patch modifies the same file as patch-af, so I combined those two (see handbook).
This commit is contained in:
parent
5a576c4832
commit
ab0b8fd515
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5381
@ -1,25 +0,0 @@
|
||||
*** old/dhcp-1.3beta/server/dhcps.c Sun Nov 5 23:18:19 1995
|
||||
--- new/dhcp-1.3beta/server/dhcps.c Fri Jan 17 17:14:54 1997
|
||||
***************
|
||||
*** 1583,1591 ****
|
||||
|
||||
res = NULL;
|
||||
res = select_wcid(DHCPREQUEST, &cid, curr_epoch);
|
||||
! if (res != NULL && res->ip_addr != NULL &&
|
||||
! res->ip_addr->s_addr == reqip.s_addr)
|
||||
! goto ack;
|
||||
else if (reqforme == 1)
|
||||
goto nak;
|
||||
else
|
||||
--- 1583,1593 ----
|
||||
|
||||
res = NULL;
|
||||
res = select_wcid(DHCPREQUEST, &cid, curr_epoch);
|
||||
! if (res != NULL && res->ip_addr != NULL)
|
||||
! if (res->ip_addr->s_addr == reqip.s_addr)
|
||||
! goto ack;
|
||||
! else
|
||||
! goto nak;
|
||||
else if (reqforme == 1)
|
||||
goto nak;
|
||||
else
|
@ -1,25 +0,0 @@
|
||||
*** old/dhcp-1.3beta/server/dhcps.c Sun Nov 5 23:18:19 1995
|
||||
--- new/dhcp-1.3beta/server/dhcps.c Fri Jan 17 17:14:54 1997
|
||||
***************
|
||||
*** 1583,1591 ****
|
||||
|
||||
res = NULL;
|
||||
res = select_wcid(DHCPREQUEST, &cid, curr_epoch);
|
||||
! if (res != NULL && res->ip_addr != NULL &&
|
||||
! res->ip_addr->s_addr == reqip.s_addr)
|
||||
! goto ack;
|
||||
else if (reqforme == 1)
|
||||
goto nak;
|
||||
else
|
||||
--- 1583,1593 ----
|
||||
|
||||
res = NULL;
|
||||
res = select_wcid(DHCPREQUEST, &cid, curr_epoch);
|
||||
! if (res != NULL && res->ip_addr != NULL)
|
||||
! if (res->ip_addr->s_addr == reqip.s_addr)
|
||||
! goto ack;
|
||||
! else
|
||||
! goto nak;
|
||||
else if (reqforme == 1)
|
||||
goto nak;
|
||||
else
|
Loading…
Reference in New Issue
Block a user