Permalink
Browse files

Fix EUI47 in error message to EUI48

  • Loading branch information...
1 parent 153cfab commit 0fc965fd9ee416acaa3858d18a46a2a2687aa007 @cmouse cmouse committed May 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 pdns/dnsrecords.cc
View
@@ -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;
}

0 comments on commit 0fc965f

Please sign in to comment.