Package Details: dhcpdump 1.8-2

Git Clone URL: https://aur.archlinux.org/dhcpdump.git (read-only)
Package Base: dhcpdump
Description: Parse DHCP packets
Upstream URL: http://mavetju.org/unix/general.php
Keywords: dhcp networking
Licenses: BSD
Submitter: das_j
Maintainer: das_j
Last Packager: das_j
Votes: 8
Popularity: 1.047067
First Submitted: 2016-07-04 18:33
Last Updated: 2017-06-16 16:23

Latest Comments

alexei commented on 2017-06-09 23:28

I got a segfault, here's the patch command that fixes it (already reported upstream, maybe include into the package until fixed).
UPDATE: clone of the AUR repo with the patch: https://github.com/alexeicolin/dhcpdump-PKGBUILD

$ cd src/dhcpdump-1.8 && patch -p1 <<EOL
diff -u dhcpdump-1.8/dhcpdump.c dhcpdump-1.8f/dhcpdump.c
--- dhcpdump-1.8/dhcpdump.c 2008-06-23 23:26:52.000000000 -0400
+++ dhcpdump-1.8f/dhcpdump.c 2017-06-09 18:56:33.946931778 -0400
@@ -16,6 +16,7 @@
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/udp.h>
+#include <netinet/ether.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
@@ -24,6 +25,7 @@
#include <pcap.h>
#include <err.h>
#include <regex.h>
+#include <time.h>
#include "dhcp_options.h"

#ifndef HAVE_STRSEP
EOL