Bugzilla – Bug 2348
patch: attribute for set of Ipv4Address instances
Last modified: 2016-03-26 12:26:15 EDT
Possible implementation to respond to the request to be able to pass in a set of IP addresses as an attribute. Thread is here.
Created attachment 2353 [details]
This could of course be adapted for other address types.
(In reply to Tom Henderson from comment #1)
> Created attachment 2353 [details]
> possible patch
> This could of course be adapted for other address types.
I see no problems at all in this attribute extension, but I have a question.
What about having an Address vector attribute (i.e., the base instance) ?
I haven't checked it, perhaps having just an Address vector will be a nightmare with the checker.
Created attachment 2354 [details]
possible patch (with IPv6)
I will look into making this use base class Address; in the meantime, here is the v6-compatible version of the previous patch.