7 Jan
2011
7 Jan
'11
9:31 p.m.
Hi, I'm running FreeBSD 8.1 and started using Bird 1.2.5 for the first time today, but it kept finding interfaces with garbled names, eg. Jan 7 20:10:23 <daemon.debug> soek bird: WUG < interface bridge0^B^KM- \xf8L\xf8 goes up Jan 7 20:10:23 <daemon.debug> soek bird: WUG < primary address 172.18.87.128/28 on interface bridge0^B^KM- \xf8L\xf8 added On closer inspection I think I've discovered a problem in sysdep/bsd/krt-sock.c in that it fails to use dl->sdl_nlen when extracting the interface name from dl->sdl_data. According to <net/if_dl.h> the interface name in sdl_data does not require null termination. Possible patch attached. Could someone review this please? Thanks, Aragon