BIND 10 #3002: extend datasrc::(Configurable)ClientList::find to return data source name

BIND 10 Development do-not-reply at isc.org
Thu Jun 13 07:23:50 UTC 2013


#3002: extend datasrc::(Configurable)ClientList::find to return data source name
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  task          |                       Status:  new
            Priority:  medium        |                    Milestone:  New
           Component:  data source   |  Tasks
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |  shared memory data source
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by vorner):

 Isn't the name stored as a string directly in the client list somewhere?
 So if we returned just const reference to it, it should be safe to use
 that as long as we don't reconfigure the client list and it would be cheap
 operation, so we wouldn't need the boolean flag and could return it every
 time. It could be simpler interface (and backwards compatible).

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


More information about the bind10-tickets mailing list