Re: Diff: Fix wrong bzero call in snmpd

2016-09-02 Thread Mike Belopuhov
On Fri, Sep 02, 2016 at 16:56 +0200, Jan Klemkow wrote: > Hi, > > When a new IP address shows up on an interface, the function > if_newaddr() save this IP address and its mask and boardcast address > into a data structure. If the corresponding IP mask or broad cast > address is not set, their

Diff: Fix wrong bzero call in snmpd

2016-09-02 Thread Jan Klemkow
Hi, When a new IP address shows up on an interface, the function if_newaddr() save this IP address and its mask and boardcast address into a data structure. If the corresponding IP mask or broad cast address is not set, their data fields in this structure are bzero()-ed. But, the code wipes the