diff options
author | Phil Blundell <philb@gnu.org> | 1998-12-05 10:33:51 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 1998-12-05 10:33:51 +0000 |
commit | d4478d5f9c9a3681c73f13d3469480328f6b0fab (patch) | |
tree | 1af5ca54a149513582e6c8ec501112526a3ac14e /ifconfig.c | |
parent | 2d37c45471c9e99ee3e2c7ba09374b30fedb7e1a (diff) | |
download | net-tools-d4478d5f9c9a3681c73f13d3469480328f6b0fab.tar.gz net-tools-d4478d5f9c9a3681c73f13d3469480328f6b0fab.tar.bz2 net-tools-d4478d5f9c9a3681c73f13d3469480328f6b0fab.zip |
More socket-open fixes
Diffstat (limited to 'ifconfig.c')
-rw-r--r-- | ifconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ * that either displays or sets the characteristics of * one or more of the system's networking interfaces. * - * Version: $Id: ifconfig.c,v 1.23 1998/12/01 20:48:41 philip Exp $ + * Version: $Id: ifconfig.c,v 1.24 1998/12/05 10:33:51 philip Exp $ * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * and others. Copyright 1993 MicroWalt Corporation @@ -548,8 +548,8 @@ int main(int argc, char **argv) /* XXX: should print the current setup if no args left, but only for this family */ spp++; + addr_family = ap->af; } - addr_family = ap->af; if (sockets_open(addr_family) < 0) { perror("family socket"); |