Cathy Zhou wrote:

> It can work. But I think a more reasonable logic should be:
> 
>     if (is_generic(prop_name)) {
>         dladm_gen_set_prop();
>     } else (is_wifi(prop_name)) {
>         wladm_set_prop();
>     } else ... {
>         ...
>     }


Who will control the property name space?  For example,
can we use the same name as a "general property" and
as a "link specific property?"  If yes, then the above
may not work well.  If the use of same name should not
happen, I guess somehow we need the logic to prevent it.



-- 

                                                K. Poon.
                                                kacheong.poon at sun.com


Reply via email to