diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2016-12-26 07:31:16 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2016-12-26 07:31:16 +0000 |
| commit | 0327a0e823fedd523566bb3c847fd62c954dc684 (patch) | |
| tree | d0d728deceeef15e41634491ee32ee4b56948470 /contrib | |
| parent | d6699bdec3224aca652ff216558059993e81082b (diff) | |
Notes
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/bsnmp/snmpd/trans_lsock.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/bsnmp/snmpd/trans_lsock.c b/contrib/bsnmp/snmpd/trans_lsock.c index 30b66f75ac0f..f9d4a32d1e00 100644 --- a/contrib/bsnmp/snmpd/trans_lsock.c +++ b/contrib/bsnmp/snmpd/trans_lsock.c @@ -32,15 +32,15 @@ */ #include <sys/types.h> #include <sys/queue.h> -#include <sys/un.h> #include <sys/stat.h> +#include <sys/un.h> +#include <errno.h> +#include <stddef.h> #include <stdio.h> #include <stdlib.h> -#include <stddef.h> -#include <syslog.h> #include <string.h> -#include <errno.h> +#include <syslog.h> #include <unistd.h> #include "snmpmod.h" @@ -417,7 +417,7 @@ lsock_send(struct tport *tp, const u_char *buf, size_t len, return (-1); } } - + return (sendto(peer->input.fd, buf, len, 0, addr, addrlen)); } |
