Permalink
Browse files

10-9-dhcprelease-pset

  • Loading branch information...
1 parent 94c5cbd commit a350b9e21f5ef4e6b0727a553c768eb3c65025d8 @YangjunZ YangjunZ committed Oct 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 dhcp-4.2.3-P2/server/dhcp.c
@@ -800,7 +800,7 @@ void dhcprelease (packet, ms_nulltp)
data_string_forget (&data, MDL);
}else{
log_info ("there is no information about pset in the packet!!\n");
- return;// there is no information about pset in the packet,error
+ return;
}
while (lease) {
@@ -810,7 +810,7 @@ void dhcprelease (packet, ms_nulltp)
lease -> ip_addr.iabuf, 4)) {
break;
}*/
- if(!memcmp (&cipset, &leasei -> ip_pset,
+ if(!memcmp (&cipset, &lease -> ip_pset,
sizeof(struct iaddr_pset))){ //cmp pset
break;
}

0 comments on commit a350b9e

Please sign in to comment.