1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Add DNS SOA record parsing and serialization

Fixes #48
This commit is contained in:
Matias Fontanini
2016-01-14 12:18:43 -08:00
parent ca56cc10dd
commit ced645fb02
4 changed files with 423 additions and 14 deletions

View File

@@ -263,6 +263,16 @@ public:
}
};
/**
* \brief Exception thrown when an invalid domain name is parsed
*/
class invalid_domain_name : public exception_base {
public:
const char* what() const throw() {
return "Invalid domain name";
}
};
namespace Crypto {
namespace WPA2 {
/**