diff options
| author | Kurt Jaeger <pi@FreeBSD.org> | 2015-02-06 20:31:54 +0000 |
|---|---|---|
| committer | Kurt Jaeger <pi@FreeBSD.org> | 2015-02-06 20:31:54 +0000 |
| commit | 2e412fff601ac2e668453518cf30fd41ccb2c2e3 (patch) | |
| tree | bc5cac91fb951378e1bbb820a1a901229baace0b /security/ipsec-tools/files/patch-src-racoon-isakmp_cfg.c | |
| parent | graphics/opennurbs: link opennurbs against system zlib (diff) | |
security/ipsec-tools: 0.8.1 -> 0.8.2
From ChangeLog:
- Fix admin port establish-sa for tunnel mode SAs (Alexander Sbitnev)
- Fix source port selection regression from version 0.8.1
- Various logging improvements
- Additional compliance and build fixes
From submitter:
- extra patch to adding wildcard psk option
PR: 196930
Submitted by: Harald Schmalzbauer <bugzilla.freebsd@omnilan.de>,
Ed Schouten <ed@80368.nl>
Approved by: vanhu (maintainer)
Diffstat (limited to 'security/ipsec-tools/files/patch-src-racoon-isakmp_cfg.c')
| -rw-r--r-- | security/ipsec-tools/files/patch-src-racoon-isakmp_cfg.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/security/ipsec-tools/files/patch-src-racoon-isakmp_cfg.c b/security/ipsec-tools/files/patch-src-racoon-isakmp_cfg.c new file mode 100644 index 000000000000..4d1ad96b321d --- /dev/null +++ b/security/ipsec-tools/files/patch-src-racoon-isakmp_cfg.c @@ -0,0 +1,28 @@ +--- src/racoon/isakmp_cfg.c ++++ src/racoon/isakmp_cfg.c +@@ -38,7 +38,9 @@ + #include <sys/socket.h> + #include <sys/queue.h> + ++#if __FreeBSD_version >= 900007 + #include <utmpx.h> ++#endif + #if defined(__APPLE__) && defined(__MACH__) + #include <util.h> + #endif +@@ -1663,6 +1665,7 @@ + char *usr; + int inout; + { ++#if __FreeBSD_version >= 900007 + int error = 0; + struct utmpx ut; + char addr[NI_MAXHOST]; +@@ -1706,6 +1709,7 @@ + plog(LLV_ERROR, LOCATION, NULL, "Unepected inout\n"); + break; + } ++#endif + + return 0; + } |
