Ah you are the source of that patch! I have been meening to do this for a while but I have some differences.. 1/ I think that the netgraph name should change as well. This takes some work but can be done 2/ I would do it in reverse.. changing the nde name would change the interface name..
On Thu, 1 Nov 2001, Vladimir B. Grebenschikov wrote: > Archie Cobbs writes: > > Vladimir B. Grebenschikov writes: > > > > That's the right patch for what you want to do. > > > > > > May be "more" right solution is rename netgraph interfaces and use > > > SNMP-software that aware about interface names not indexes ? > > > > Yes.. I don't know what an "SNMP index" is but it seems to > > imply an assumption that the interface list is static, which > > is an invalid one. > > Who are can commit changes into ng_iface.c to to support interface > renaming ? > For my concern there are two possible ways: > 1. annouce setifname message for netgraph interface > for set interface name (not related with netgraph node name) > I have send this patch in list some time ago. > 2. extend standart netgraph rename to rename interface simaltaniosly > with interface node rename. > > This change will be helpful I think. > > > -Archie > > -- > TSB Russian Express, Moscow > Vladimir B. Grebenschikov, [EMAIL PROTECTED] > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message