/*
- * 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
Eui::Eui64::decode(const char *asc)
{
if (eui64_aton(asc, (struct eui64 *)eui) != 0) {
- debugs(28, 4, "id=" << (void*)this << " decode fail on " << asc);
- return false;
+ debugs(28, 4, "id=" << (void*)this << " decode fail on " << asc);
+ return false;
}
debugs(28, 4, "id=" << (void*)this << " ATON decoded " << 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;
// 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 */
}
#endif /* USE_SQUID_EUI */
+