]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix EUI47 in error message to EUI48
authorAki Tuomi <cmouse@desteem.org>
Fri, 10 May 2013 10:49:06 +0000 (13:49 +0300)
committerAki Tuomi <cmouse@desteem.org>
Fri, 10 May 2013 10:49:06 +0000 (13:49 +0300)
pdns/dnsrecords.cc

index cffdca6577cc293600c3763b41eee5bd26f91583..9e444f9d846bef25b470de575a22842be0395a9c 100644 (file)
@@ -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;
 }