The exact code that is giving me problems is the ioctl call using SIOCGIFINDEX
in the netsnmp_access_interface_ioctl_ifindex_get() function. From what I've
been told the increasing index number for PPP interfaces is the kernel's
designed behavior. Our kernel dev pointed out that in our kernel's
I can add some more insight to my original question.
After the first time I bounce the PPPoE daemon snmpd (version 5.5.1) returns
two ppp0 interfaces. After a few minutes the first one will disappear. Before
that could happen I decided to restart snmpd to see what it would return.
IF-MIB::if