diff options
-rw-r--r-- | sinit.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -204,6 +204,7 @@ ifup(const char *iface) sk = socket(AF_INET, SOCK_DGRAM, 0); if (sk < 0) { perror("ifup: socket:"); + return; } memset(&ifr, 0, sizeof(struct ifreq)); |