]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - dhcp/patches/dhcp-4.2.4-send_release.patch
dhcp: Update to 4.3.5b1
[people/arne_f/ipfire-3.x.git] / dhcp / patches / dhcp-4.2.4-send_release.patch
diff --git a/dhcp/patches/dhcp-4.2.4-send_release.patch b/dhcp/patches/dhcp-4.2.4-send_release.patch
deleted file mode 100644 (file)
index 3e0a618..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -up dhcp-4.2.4b1/client/dhclient.c.send_release dhcp-4.2.4b1/client/dhclient.c
---- dhcp-4.2.4b1/client/dhclient.c.send_release        2012-04-16 17:48:52.000000000 +0200
-+++ dhcp-4.2.4b1/client/dhclient.c     2012-04-16 17:50:44.357396720 +0200
-@@ -2764,8 +2764,8 @@ void send_release (cpp)
-             inet_ntoa (destination.sin_addr),
-             ntohs (destination.sin_port), client -> xid);
--      if (fallback_interface) {
--              result = send_packet(fallback_interface, NULL, &client->packet,
-+      if (client -> interface) {
-+              result = send_packet(client -> interface, NULL, &client->packet,
-                                     client->packet_length, from, &destination,
-                                     NULL);
-               if (result < 0) {
-@@ -2776,7 +2776,7 @@ void send_release (cpp)
-               }
-         } else {
-               /* Send out a packet. */
--              result = send_packet(client->interface, NULL, &client->packet,
-+              result = send_packet(fallback_interface, NULL, &client->packet,
-                                     client->packet_length, from, &destination,
-                                     NULL);
-               if (result < 0) {