projects
/
debian
/
sudo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.8.7
[debian/sudo]
/
src
/
net_ifs.c
diff --git
a/src/net_ifs.c
b/src/net_ifs.c
index fa8b6760415b327a42018dfb4644e682e8bda9c9..a5c0fee95cd58b30a5e9321e6e71a9c0cd0e7299 100644
(file)
--- a/
src/net_ifs.c
+++ b/
src/net_ifs.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 1996, 1998-2005, 2007-201
0
+ * Copyright (c) 1996, 1998-2005, 2007-201
3
* Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
@@
-32,7
+32,6
@@
struct rtentry;
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/socket.h>
-#include <sys/param.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#if defined(HAVE_SYS_SOCKIO_H) && !defined(SIOCGIFCONF)
#include <sys/time.h>
#include <sys/ioctl.h>
#if defined(HAVE_SYS_SOCKIO_H) && !defined(SIOCGIFCONF)
@@
-224,7
+223,7
@@
get_net_ifs(char **addrinfo)
sock = socket(AF_INET, SOCK_DGRAM, 0);
if (sock < 0)
sock = socket(AF_INET, SOCK_DGRAM, 0);
if (sock < 0)
-
error(1,
_("unable to open socket"));
+
fatal(
_("unable to open socket"));
/*
* Get interface configuration or return.
/*
* Get interface configuration or return.