From b342645e7c09098154b6de7080f3b5516516e7e7 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 14 Feb 2022 08:47:44 +0100 Subject: [PATCH] dhcp: add missing copyright File created in 092462dc10d1a4 by Seth Mos in 2012. --- LICENSE | 2 +- src/opnsense/scripts/dhcp/prefixes.php | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 89e9ffaa0..823edd23b 100644 --- a/LICENSE +++ b/LICENSE @@ -46,7 +46,7 @@ Copyright (c) 2015 S. Linke Copyright (c) 2007 Sam Wenham Copyright (c) 2007 Scott Dale Copyright (c) 2003-2012 Scott Ullrich -Copyright (c) 2007-2011 Seth Mos +Copyright (c) 2007-2012 Seth Mos Copyright (c) 2008-2009 Shrew Soft Inc. Copyright (c) 2022 Stephan de Wit Copyright (c) 2004-2005 T. Lechat diff --git a/src/opnsense/scripts/dhcp/prefixes.php b/src/opnsense/scripts/dhcp/prefixes.php index 43b8a4cc2..bbdbc0935 100755 --- a/src/opnsense/scripts/dhcp/prefixes.php +++ b/src/opnsense/scripts/dhcp/prefixes.php @@ -1,6 +1,32 @@ #!/usr/local/bin/php + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + require_once 'util.inc'; $leases_file = "/var/dhcpd/var/db/dhcpd6.leases";