openbsd-ports/net/pmacct/patches/patch-src_isis_isis_c
sthen 41d2ec1ab8 update to pmacct-1.7.1 (requested by David Higgs) and enable some of the
optional features that only have lightweight dependencies. tidy up example
installation.
2018-05-18 10:52:13 +00:00

15 lines
701 B
Plaintext

$OpenBSD: patch-src_isis_isis_c,v 1.3 2018/05/18 10:52:13 sthen Exp $
Index: src/isis/isis.c
--- src/isis/isis.c.orig
+++ src/isis/isis.c
@@ -820,7 +820,7 @@ void igp_daemon_map_initialize(char *filename, struct
pcap_t *p;
if (config.debug && config.igp_daemon_map_msglog) {
- p = pcap_open_dead(DLT_CHDLC, RECEIVE_LSP_BUFFER_SIZE+sizeof(struct chdlc_header)+sizeof(struct isis_fixed_hdr));
+ p = pcap_open_dead(DLT_C_HDLC, RECEIVE_LSP_BUFFER_SIZE+sizeof(struct chdlc_header)+sizeof(struct isis_fixed_hdr));
if ((idmm_fd = pcap_dump_open(p, config.igp_daemon_map_msglog)) == NULL) {
Log(LOG_ERR, "ERROR ( %s/core/ISIS ): Can not open igp_daemon_map_msglog '%s' (%s).\n",