Pārlūkot izejas kodu

Added license headers

Signed-off-by: Andrea Barberio <insomniac@slackware.it>
Andrea Barberio 6 gadi atpakaļ
vecāks
revīzija
4861d2ce08

+ 4 - 0
cmds/client/main.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package main
 
 /*

+ 4 - 0
cmds/coredhcp/main.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package main
 
 import (

+ 4 - 0
config/config.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package config
 
 import (

+ 4 - 0
config/errors.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package config
 
 import (

+ 4 - 0
coredhcp.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package coredhcp
 
 import (

+ 4 - 0
handler/handler.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package handler
 
 import (

+ 4 - 0
logger/logger.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package logger
 
 import (

+ 4 - 0
plugins/dns/plugin.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package dns
 
 import (

+ 4 - 0
plugins/dns/plugin_test.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package dns
 
 import (

+ 4 - 0
plugins/example/plugin.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package example
 
 // This is an example plugin that inspects a packet and prints it out. The code

+ 4 - 0
plugins/file/plugin.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 // Package file enables static mapping of MAC <--> IP addresses.
 // The mapping is stored in a text file, where each mapping is described by one line containing
 // two fields separated by spaces: MAC address, and IP address. For example:

+ 4 - 0
plugins/netmask/plugin.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package netmask
 
 import (

+ 4 - 0
plugins/plugin.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package plugins
 
 import (

+ 4 - 0
plugins/range/plugin.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package rangeplugin
 
 import (

+ 4 - 0
plugins/router/plugin.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package router
 
 import (

+ 4 - 0
plugins/server_id/plugin.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package serverid
 
 import (

+ 4 - 0
plugins/server_id/plugin_test.go

@@ -1,3 +1,7 @@
+// Copyright 2018-present the CoreDHCP Authors. All rights reserved
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package serverid
 
 import (