update to lldpd-0.9.4

This commit is contained in:
sthen 2016-06-18 13:57:45 +00:00
parent 9d4e0375b0
commit 73152d7e56
3 changed files with 4 additions and 20 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.25 2016/03/20 18:00:05 sthen Exp $
# $OpenBSD: Makefile,v 1.26 2016/06/18 13:57:45 sthen Exp $
COMMENT= LLDP (802.1ab)/CDP/EDP/SONMP/FDP daemon and SNMP subagent
DISTNAME= lldpd-0.9.2
DISTNAME= lldpd-0.9.4
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
LLDP-MIB-200505060000Z.txt:0
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}

View File

@ -1,4 +1,4 @@
SHA256 (LLDP-MIB-200505060000Z.txt) = 9vbR8AYyv8zeSvq8b9fZT7R/opZl2d8XXO1gtQnndpU=
SHA256 (lldpd-0.9.2.tar.gz) = YFTynUH68yGGoiMxhTopnIf0QZtDMt9KVk92oTkwWjI=
SHA256 (lldpd-0.9.4.tar.gz) = 6x9b7/L/XBPF4DQrW52oFe1KY4ZiYkReEWinnuZckHk=
SIZE (LLDP-MIB-200505060000Z.txt) = 77317
SIZE (lldpd-0.9.2.tar.gz) = 1600648
SIZE (lldpd-0.9.4.tar.gz) = 1604103

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-src_daemon_interfaces-bsd_c,v 1.2 2016/01/21 08:43:32 sthen Exp $
--- src/daemon/interfaces-bsd.c.orig Tue Jan 5 19:25:38 2016
+++ src/daemon/interfaces-bsd.c Thu Jan 21 00:14:19 2016
@@ -469,10 +469,10 @@ ifbsd_macphy(struct lldpd *cfg,
struct lldpd_hardware *hardware)
{
#ifdef ENABLE_DOT3
- int media_list[32] = {};
+ uint64_t media_list[32] = {};
struct ifmediareq ifmr = {
.ifm_ulist = media_list,
- .ifm_count = sizeof(media_list) / sizeof(int)
+ .ifm_count = sizeof(media_list) / sizeof(uint64_t)
};
struct lldpd_port *port = &hardware->h_lport;
unsigned int duplex;