On (03/10/09 11:14), James Carlson wrote: > > One consideration is what to do with "ndd -set" on the global > variable. With ip_forwarding, in addition to the global flag used for > subsequent new interfaces, we also go out and blast all of the > existing interfaces to the new setting. > > That makes the design more like my 5(a): the interface just has a > simple copy of the value created at plumb time, and you can set it on > a per-interface basis if you want. > > I dunno if that's better or worse than 5(b). It might be close to the > noise.
I like 5(b) better. If someone has been knowledgable enough to set the per-interface version of the prop, ndd should not go and clobber that. And if the desired objective is to reset the value on all the interfaces, then they should use 'ipadm set-prop <..>' with the appropriate incantation for the wildcard interface. What I'm unsure of is whether the incantation for the wildcard interface should adjust the ndd-global version of the prop as well.
