]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
frame: mention the licensing issue with POKE/PEEK macros
authorVincent Bernat <vincent@bernat.im>
Fri, 24 Oct 2014 23:07:42 +0000 (01:07 +0200)
committerVincent Bernat <vincent@bernat.im>
Fri, 24 Oct 2014 23:07:42 +0000 (01:07 +0200)
They were taken from ladvd but were originally based on the ones from
libcdp (under the Net::CDP umbrella) which is LGPLv2 licensed. To avoid
any grey area, the original author, Michael Chapman, kindly accepted to
relicense those under the ISC license.

Closes: #79
src/daemon/frame.h

index e7475a895cd9525928ac0aed0bb02eda4dfafc50..ceac471a2dad6c677e0619a29caa0fe1cd18fdfc 100644 (file)
@@ -1,6 +1,7 @@
 /* -*- mode: c; c-file-style: "openbsd" -*- */
 /*
  * Copyright (c) 2009 Vincent Bernat <bernat@luffy.cx>
+ * Copyright (c) 2014 Michael Chapman
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -26,8 +27,11 @@ static union {
 
 /* This set of macro are used to build packets. The current position in buffer
  * is `pos'. The length of the remaining space in buffer is `length'. `type'
- * should be a member of `types'. This was stolen from ladvd which was adapted
- * from Net::CDP. */
+ * should be a member of `types'.
+ *
+ * This was stolen from ladvd which was adapted from Net::CDP. The original
+ * author of those macros, Michael Chapman, has relicensed those macros under
+ * the ISC license. */
 
 #define POKE(value, type, func)                          \
         ((length >= sizeof(type)) &&             \