From: Aki Tuomi Date: Fri, 10 May 2013 10:49:06 +0000 (+0300) Subject: Fix EUI47 in error message to EUI48 X-Git-Tag: auth-3.3-rc1~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0fc965fd9ee416acaa3858d18a46a2a2687aa007;p=thirdparty%2Fpdns.git Fix EUI47 in error message to EUI48 --- diff --git a/pdns/dnsrecords.cc b/pdns/dnsrecords.cc index cffdca6577..9e444f9d84 100644 --- a/pdns/dnsrecords.cc +++ b/pdns/dnsrecords.cc @@ -299,7 +299,7 @@ DNSRecordContent* EUI48RecordContent::make(const string& zone) if (sscanf(zone.c_str(), "%2hhx-%2hhx-%2hhx-%2hhx-%2hhx-%2hhx", ret->d_eui48, ret->d_eui48+1, ret->d_eui48+2, ret->d_eui48+3, ret->d_eui48+4, ret->d_eui48+5) != 6) { - throw MOADNSException("Asked to encode '"+zone+"' as an EUI47 address, but does not parse"); + throw MOADNSException("Asked to encode '"+zone+"' as an EUI48 address, but does not parse"); } return ret; }