Bug#630911: please provide link_ntoa()

2011-06-26 Thread Robert Millan
2011/6/27 Aurelien Jarno : > And if you look at the history, link_ntoa() was in libfreebsd, and > given freebsd-utils was the only user it has been moved to > [freebsd-utils]/debian/patches/030_arp_libbsd.diff > > Is there a reason why we want it to be implemented in a library? > Are there other us

Bug#630911: please provide link_ntoa()

2011-06-26 Thread Aurelien Jarno
On Mon, Jun 27, 2011 at 01:21:03AM +0200, Guillem Jover wrote: > On Mon, 2011-06-27 at 00:27:12 +0200, Robert Millan wrote: > > 2011/6/27 Guillem Jover : > > > The problem with link_ntoa() is that it relies on the BSD specific > > > ‘struct sockaddr_dl’ which for example does not match any Linux >

Bug#630911: please provide link_ntoa()

2011-06-26 Thread Guillem Jover
On Mon, 2011-06-27 at 00:27:12 +0200, Robert Millan wrote: > 2011/6/27 Guillem Jover : > > The problem with link_ntoa() is that it relies on the BSD specific > > ‘struct sockaddr_dl’ which for example does not match any Linux > > sockaddr structure, the closes one is sockaddr_ll, but not quite the

Bug#630911: please provide link_ntoa()

2011-06-26 Thread Robert Millan
2011/6/27 Guillem Jover : > The problem with link_ntoa() is that it relies on the BSD specific > ‘struct sockaddr_dl’ which for example does not match any Linux > sockaddr structure, the closes one is sockaddr_ll, but not quite the > same, also no standard function returns such type, so the code ha

Bug#630911: please provide link_ntoa()

2011-06-26 Thread Guillem Jover
On Sat, 2011-06-18 at 19:10:46 +0200, Robert Millan wrote: > Package: libbsd-dev > Version: 0.2.0-1 > Severity: wishlist > > Please provide link_ntoa() so that it can be removed from > [freebsd-utils]/debian/patches/030_arp_libbsd.diff > > Implementation from FreeBSD is available in: > > http://

Bug#630911: please provide link_ntoa()

2011-06-18 Thread Robert Millan
Package: libbsd-dev Version: 0.2.0-1 Severity: wishlist Please provide link_ntoa() so that it can be removed from [freebsd-utils]/debian/patches/030_arp_libbsd.diff Implementation from FreeBSD is available in: http://svnweb.freebsd.org/base/head/lib/libc/net/linkaddr.c?revision=165903&view=marku