Buglet RE: new interfaces code (bug fix + questions)

Andrej Borsenkow Andrej.Borsenkow at mow.siemens.ru
Wed Sep 1 09:42:45 GMT 1999

> The new code is at ftp://samba.org/pub/tridge/misc/interfaces.c

Buglet (smells, like it was my fault). Now ifr is not incrmented and all
interfaces get the same address. Patch attached.

BTW ifreq = ifr[i] implies, that compiler can copy structs by value. Would not
memcopy be a bit safer?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 387 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/19990901/c731196f/diff.obj

More information about the samba-technical mailing list