BIND 10 #2637: DHCP code tidy-up for the release in January 2013

BIND 10 Development do-not-reply at isc.org
Wed Jan 16 12:14:23 UTC 2013


#2637: DHCP code tidy-up for the release in January 2013
-------------------------------------+-------------------------------------
            Reporter:  marcin        |                        Owner:
                Type:  task          |                       Status:  new
            Priority:  medium        |                    Milestone:
           Component:  dhcp          |  Sprint-DHCP-20130122
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DHCP          |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by stephen):

 Some other trivial issues that can be tidied up here:

 * (src/bin/dhcp6/dhcp6_srv.cc) The logging call for message
 DHCP6_RESPONSE_DATA should convert the type code logged in the message to
 an "int" - it's currently a unit8_t, which gets output as an unprintable
 character.
 * (src/lib/dhcp/pkt6.cc) Pkt6::toText() - the type code should be
 converted to an "int" before output (same reasons as above).
 * (src/lib/dhcp/pkt4.cc) Pkt4::toText() - use "static_cast<int>()" instead
 of "int()" for the conversion.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2637#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list