]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3899] Added a 0x before hex flag output
authorFrancis Dupont <fdupont@isc.org>
Sun, 14 Jun 2015 09:35:08 +0000 (11:35 +0200)
committerFrancis Dupont <fdupont@isc.org>
Sun, 14 Jun 2015 09:35:08 +0000 (11:35 +0200)
src/lib/dhcp/option4_client_fqdn.cc

index 0005eecd7e8256857362e956cd18fd1d002eb8b4..0ff0fab2a94b86ddb5167eef6906d918250f3ecc 100644 (file)
@@ -384,7 +384,7 @@ Option4ClientFqdn::setFlag(const uint8_t flag, const bool set_flag) {
     // multiple flags concurrently.
     if (((flag & ~FLAG_MASK) != 0) || (flag == 0)) {
         isc_throw(InvalidOption4FqdnFlags, "invalid DHCPv4 Client FQDN"
-                  << " Option flag " << std::hex
+                  << " Option flag 0x" << std::hex
                   << static_cast<int>(flag) << std::dec
                   << " is being set. Expected combination of E, N, S and O");
     }