4 # By Gerald Combs <gerald@wireshark.org>
6 # Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
8 # SPDX-License-Identifier: GPL-2.0-or-later
10 '''Write captures/dhcp.pcap to stdout, pause 1.5 seconds, and write it again.'''
17 dhcp_pcap = os.path.join(os.path.dirname(__file__), 'captures', 'dhcp.pcap')
19 dhcp_fd = open(dhcp_pcap, 'rb')
20 contents = dhcp_fd.read()
23 os.write(1, contents[24:])