~ubuntu-branches/ubuntu/trusty/dhcpcd/trusty-security

« back to all changes in this revision

Viewing changes to src/dhcpcd.h

  • Committer: Bazaar Package Importer
  • Author(s): Simon Kelley
  • Date: 2005-09-30 02:21:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050930022151-vq3xlcazj0bdpyf4
Tags: 1:2.0.0-2
Clear out /etc/dhcpc/resolv.conf and /var/lib/dhcpc/* 
during purge. (closes: #330515)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * dhcpcd - DHCP client daemon -
 
3
 * Copyright (C) 1996 - 1997 Yoichi Hariguchi <yoichi@fore.com>
 
4
 * Copyright (C) January, 1998 Sergei Viznyuk <sv@phystech.com>
 
5
 * Copyright (C) 2005 Roy Marples <uberlord@gentoo.org>
 
6
 * Copyright (C) 2005 Simon Kelley <simon@thekelleys.org.uk>
 
7
 * 
 
8
 * dhcpcd is an RFC2131 and RFC1541 compliant DHCP client daemon.
 
9
 *
 
10
 * This is free software; you can redistribute it and/or modify it
 
11
 * under the terms of the GNU General Public License as published by
 
12
 * the Free Software Foundation; either version 2 of the License, or
 
13
 * (at your option) any later version.
 
14
 *
 
15
 * This program is distributed in the hope that it will be useful, but
 
16
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
18
 * See the GNU General Public License for more details.
 
19
 *
 
20
 * You should have received a copy of the GNU General Public License
 
21
 * along with this program; if not, write to the Free Software
 
22
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
23
 */
 
24
 
 
25
#ifndef DHCPCD_H
 
26
#define DHCPCD_H
 
27
 
 
28
#ifndef PACKAGE
 
29
#include "config.h"
 
30
#endif
 
31
 
 
32
#define DEFAULT_IFNAME          "eth0"
 
33
#define DEFAULT_IFNAME_LEN      4
 
34
#define DEFAULT_TIMEOUT         60
 
35
#define DEFAULT_LEASETIME       0xffffffff      /* infinite lease time */
 
36
 
 
37
#endif