]> git.ipfire.org Git - thirdparty/dhcp.git/blobdiff - common/upf.c
copy rights update
[thirdparty/dhcp.git] / common / upf.c
index 1b49301e71ec3c608c710fa5c6251bf3a9c2a7b9..37e5cb2879f14e19f4cd9c2a6b7dcf0e67d38da5 100644 (file)
@@ -3,7 +3,7 @@
    Ultrix PacketFilter interface code. */
 
 /*
- * Copyright (c) 2004-2017 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2022 Internet Systems Consortium, Inc. ("ISC")
  * Copyright (c) 1996-2003 by Internet Software Consortium
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
@@ -19,8 +19,8 @@
  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  *
  *   Internet Systems Consortium, Inc.
- *   950 Charter Street
- *   Redwood City, CA 94063
+ *   PO Box 360
+ *   Newmarket, NH 03857 USA
  *   <info@isc.org>
  *   https://www.isc.org/
  *
@@ -94,7 +94,7 @@ int if_register_upf (info)
                       info -> name);
 
        /* We only know how to do ethernet. */
-       if (param.end_dev_type != ENDT_10MB)    
+       if (param.end_dev_type != ENDT_10MB)
                log_fatal ("Invalid device type on network interface %s: %d",
                       info -> name, param.end_dev_type);
 
@@ -156,6 +156,9 @@ void if_deregister_send (info)
    XXX Changes to the filter program may require changes to the constant
    offsets used in if_register_send to patch the UPF program! XXX */
 
+#if defined(RELAY_PORT)
+#error "Relay port is not yet supported for UPF"
+#endif
 
 void if_register_receive (info)
        struct interface_info *info;