Browse Source

fixed a segfault found by randolpg@tausq.org

r320
master
David Whedon 22 years ago
parent
commit
a610317a7a
  1. 2
      netcfg.c

2
netcfg.c

@ -340,6 +340,8 @@ netcfg_get_interface ()
if (!inter)
netcfg_die ();
}
else if (num_interfaces == 1)
inter = ptr;
/* grab just the interface name, not the description too */
interface = inter;

Loading…
Cancel
Save