>The call to ioctl(SIOCGIFFLAGS) reports only promiscuous mode sets by
>ioctl(SIOCSIFFLAGS).

This is the same reason why Promiscuous mode is never reported by
"ifconfig" in Solaris 2.0 and later.

In Solaris, ifconfig primarily (or perhaps only) deals with the
"IP (or other network stack) plumbing" on devices; in that context
the "promiscuous" flag has no meaning either.

A number of Solaris device drivers export the fact whether they're
promiscuous using the "kstat" (kernel statistics) interface; unfortunately
not all devices support that yet.

$ kstat -p :::promisc
elxl:0:elxl0:promisc    off

We need to fix this for most SPARC hardware still.

Casper

Reply via email to