aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/wide-dhcp/files/patch-aw
blob: 10efc7ab63a6629680df42ae9ed1d6868f2408fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
*** 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