]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/eui/Eui64.cc
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / eui / Eui64.cc
index 385529d4ce5b210ea03578f665b07c8c30793348..653f48c4cb75ba285bef9eb9f4af1dfa1e619782 100644 (file)
@@ -1,10 +1,13 @@
 /*
- * DEBUG: section 89    EUI-64 Handling
- * AUTHOR: Amos Jeffries
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
  *
- * Copyright (c) 2009, Amos Jeffries <squid3@treenet.co.nz>
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
 
+/* DEBUG: section 89    EUI-64 Handling */
+
 #include "squid.h"
 
 #if USE_SQUID_EUI
@@ -28,7 +31,7 @@ Eui::Eui64::decode(const char *asc)
 }
 
 bool
-Eui::Eui64::encode(char *buf, const int len)
+Eui::Eui64::encode(char *buf, const int len) const
 {
     if (len < SZ_EUI64_BUF) return false;
 
@@ -72,7 +75,7 @@ Eui::Eui64::lookupSlaac(const Ip::Address &c)
 
 // return binary representation of the EUI
 bool
-Eui::Eui64::lookupNdp(const Ip::Address &c)
+Eui::Eui64::lookupNdp(const Ip::Address &/*c*/)
 {
 #if 0 /* no actual lookup coded yet */
 
@@ -90,3 +93,4 @@ Eui::Eui64::lookupNdp(const Ip::Address &c)
 }
 
 #endif /* USE_SQUID_EUI */
+