+moreutils (0.21) UNRELEASED; urgency=low
+
+ * Patch from Sergej Pupykin fixing ifdata -pN.
+
+ -- Joey Hess <joeyh@debian.org> Mon, 25 Jun 2007 13:06:21 -0400
+
moreutils (0.20) unstable; urgency=low
* Typo fixes from Ralf Wildenhues.
struct sockaddr *if_network(const char *iface) {
struct sockaddr *saddr;
- struct ifreq req;
+ static struct ifreq req;
unsigned int mask;
if (!(saddr = if_mask(iface, &req)))
}
int if_mtu(const char *iface) {
- struct ifreq req;
+ static struct ifreq req;
if (do_socket_ioctl(iface, SIOCGIFMTU, &req, NULL, PRINT_ERROR))
return 0;
void please_do(int ndo, int *todo, const char *ifname) {
int i;
- struct ifreq req;
+ static struct ifreq req;
if (!ndo) return;
// printf("I have %d items in my queue.\n",ndo);
for (i=0; i<ndo; i++) {