Displaying 3 results from an estimated 3 matches for "have_linux_if_tun_h".
2009 May 27
0
[PATCH] src/linux/device.c: Fix segfault when running without `--net'.
...rtions(+), 1 deletions(-)
diff --git a/src/linux/device.c b/src/linux/device.c
index 2e44755..4e9591c 100644
--- a/src/linux/device.c
+++ b/src/linux/device.c
@@ -63,7 +63,8 @@ bool setup_device(void)
if(!get_config_string(lookup_config(config_tree, "Interface"), &iface))
#ifdef HAVE_LINUX_IF_TUN_H
- iface = xstrdup(netname);
+ if (netname != NULL)
+ iface = xstrdup(netname);
#else
iface = xstrdup(rindex(device, '/') ? rindex(device, '/') + 1 : device);
#endif
--
1.5.6.5
2012 May 09
1
warning from configuring openssh-6.0p1
...fine HAVE_LASTLOG_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define PAM_TTY_KLUDGE 1
| #define LOCKED_PASSWD_PREFIX "!"
| #define SPT_TYPE SPT_REUSEARGV
| #define LINK_OPNOTSUPP_ERRNO EPERM
| #define _PATH_BTMP "/var/log/btmp"
| #define USE_BTMP 1
| #define LINUX_OOM_ADJUST 1
| #define HAVE_LINUX_IF_TUN_H 1
| #define SSH_TUN_LINUX 1
| #define SSH_TUN_COMPAT_AF 1
| #define SSH_TUN_PREPEND_AF 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| #...
2009 Apr 08
3
libedit not found on SUse 11.1
Included below is a diff between the output from configure on a 64 bit
SUse 11.1 (doesn't find libedit) and a 64 bit Suse 10.3 (does find
libedit) for otherwise identical setups.
1. How can I get the output set up to look at conftest.c?
2. I added a set -x to configure above LIBEDIT_MSG=no
3. ./configure --with-ldflags="-L/usr/lib64" --with-cflags="-ggdb3