summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/wide-dhcp/files/patch-aw25
-rw-r--r--net/wide-dhcp/files/patch-aw25
2 files changed, 50 insertions, 0 deletions
diff --git a/net-mgmt/wide-dhcp/files/patch-aw b/net-mgmt/wide-dhcp/files/patch-aw
new file mode 100644
index 0000000..10efc7a
--- /dev/null
+++ b/net-mgmt/wide-dhcp/files/patch-aw
@@ -0,0 +1,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
diff --git a/net/wide-dhcp/files/patch-aw b/net/wide-dhcp/files/patch-aw
new file mode 100644
index 0000000..10efc7a
--- /dev/null
+++ b/net/wide-dhcp/files/patch-aw
@@ -0,0 +1,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
OpenPOWER on IntegriCloud