Brussels team,

I'm merging the Brussels Persistence wad into the Clearview gate, and am
wondering how to handle calls to dladm_init_linkprop().  What is the new
2nd argument to this function?

dladm_status_t
dladm_init_linkprop(datalink_id_t linkid, boolean_t any_media)
{
        datalink_media_t        dmedia;
        uint32_t                media;

        dmedia = any_media ? DATALINK_ANY_MEDIATYPE : DL_WIFI;
...

So, this should be false only for WiFi links?  If that's the case, then
these calls look wrong:

libdlaggr.c:    (void) dladm_init_linkprop(linkid, B_FALSE);
libdlvlan.c:            (void) dladm_init_linkprop(vlanid, B_FALSE);

Should this be true or false for IP tunnel links?

-Seb



Reply via email to