Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 225125 | Differences between
and this patch

Collapse All | Expand All

(-)arpon.c.orig (-3 / +3 lines)
Lines 760-766 Link Here
760
	struct tm tm_cur;
760
	struct tm tm_cur;
761
	struct ether_addr dst_mac;
761
	struct ether_addr dst_mac;
762
	struct in_addr dst_ip;
762
	struct in_addr dst_ip;
763
	pcap_t *pcap;
763
	pcap_t *pcap = NULL;
764
	
764
	
765
	/* Number hosts */
765
	/* Number hosts */
766
	n_hosts	= ntohl(~device_netmask.s_addr);
766
	n_hosts	= ntohl(~device_netmask.s_addr);
Lines 1776-1782 Link Here
1776
{
1776
{
1777
	time_t time_cur;
1777
	time_t time_cur;
1778
	struct tm tm_cur;
1778
	struct tm tm_cur;
1779
	arp_t *arp;
1779
	arp_t *arp = NULL;
1780
1780
1781
	/* Localtime */
1781
	/* Localtime */
1782
	time_cur = time(NULL);
1782
	time_cur = time(NULL);
Lines 2254-2260 Link Here
2254
{
2254
{
2255
	time_t time_cur;
2255
	time_t time_cur;
2256
	struct tm tm_cur;
2256
	struct tm tm_cur;
2257
	arp_t *arp;
2257
	arp_t *arp = NULL;
2258
	
2258
	
2259
	/* Localtime */
2259
	/* Localtime */
2260
	time_cur = time(NULL);
2260
	time_cur = time(NULL);

Return to bug 225125