Browse Source

[3899] Added 0x and space in error message

Francis Dupont 10 years ago
parent
commit
9a0ee04836
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/dhcp/option6_client_fqdn.cc

+ 2 - 2
src/lib/dhcp/option6_client_fqdn.cc

@@ -332,9 +332,9 @@ Option6ClientFqdn::setFlag(const uint8_t flag, const bool set_flag) {
     // checked here so it will work.
     // checked here so it will work.
     if (((flag & ~FLAG_MASK) != 0) || (flag == 0)) {
     if (((flag & ~FLAG_MASK) != 0) || (flag == 0)) {
         isc_throw(InvalidOption6FqdnFlags, "invalid DHCPv6 Client FQDN"
         isc_throw(InvalidOption6FqdnFlags, "invalid DHCPv6 Client FQDN"
-                  << " Option flag " << std::hex
+                  << " Option flag 0x" << std::hex
                   << static_cast<int>(flag) << std::dec
                   << static_cast<int>(flag) << std::dec
-                  << "is being set. Expected: N, S or O");
+                  << " is being set. Expected: N, S or O");
     }
     }
 
 
     // Copy the current flags into local variable. That way we will be able
     // Copy the current flags into local variable. That way we will be able