diff options
author | 2015-06-30 12:03:32 +0000 | |
---|---|---|
committer | 2015-06-30 12:03:32 +0000 | |
commit | 6f6291352d8e7529bcd0c6b80c0468149cc21563 (patch) | |
tree | 30d4f4fac1d173f76d89dd8935919a70f2ccaca3 /usr.sbin/syslogd/syslogd.h | |
parent | Move the specialized m_copym2() preserving the alignment of the payload (diff) | |
download | wireguard-openbsd-6f6291352d8e7529bcd0c6b80c0468149cc21563.tar.xz wireguard-openbsd-6f6291352d8e7529bcd0c6b80c0468149cc21563.zip |
Add a -U command line switch for syslogd to specify an explict bind
address to receive UDP packets. One advantge over -u and the *
sockets is that you can bind to localhost and divert the packets
with pf. It is also possible to use a non standard port.
OK jung@ jmc@
Diffstat (limited to 'usr.sbin/syslogd/syslogd.h')
-rw-r--r-- | usr.sbin/syslogd/syslogd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/syslogd.h b/usr.sbin/syslogd/syslogd.h index a64e1fe7fe3..04d64555946 100644 --- a/usr.sbin/syslogd/syslogd.h +++ b/usr.sbin/syslogd/syslogd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syslogd.h,v 1.16 2014/10/05 18:14:01 bluhm Exp $ */ +/* $OpenBSD: syslogd.h,v 1.17 2015/06/30 12:03:32 bluhm Exp $ */ /* * Copyright (c) 2003 Anil Madhavapeddy <anil@recoil.org> @@ -44,7 +44,7 @@ extern int nunix; extern char *path_unix[MAXUNIX]; extern char *path_ctlsock; extern int fd_ctlsock, fd_ctlconn, fd_klog, fd_sendsys; -extern int fd_udp, fd_udp6, fd_unix[MAXUNIX]; +extern int fd_udp, fd_udp6, fd_bind, fd_unix[MAXUNIX]; #define dprintf(_f...) do { if (Debug) printf(_f); } while (0) extern int Debug; |