aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/net/udp/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/net/udp/dns.c')
-rw-r--r--gpxe/src/net/udp/dns.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gpxe/src/net/udp/dns.c b/gpxe/src/net/udp/dns.c
index a498aefc..f94094aa 100644
--- a/gpxe/src/net/udp/dns.c
+++ b/gpxe/src/net/udp/dns.c
@@ -19,6 +19,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
@@ -459,7 +461,7 @@ static void dns_xfer_close ( struct xfer_interface *socket, int rc ) {
/** DNS socket operations */
static struct xfer_interface_operations dns_socket_operations = {
.close = dns_xfer_close,
- .vredirect = xfer_vopen,
+ .vredirect = xfer_vreopen,
.window = unlimited_xfer_window,
.alloc_iob = default_xfer_alloc_iob,
.deliver_iob = xfer_deliver_as_raw,