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

« back to all changes in this revision

Viewing changes to 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
 
 * 
6
 
 * dhcpcd is an RFC2131 and RFC1541 compliant DHCP client daemon.
7
 
 *
8
 
 * This is free software; you can redistribute it and/or modify it
9
 
 * under the terms of the GNU General Public License as published by
10
 
 * the Free Software Foundation; either version 2 of the License, or
11
 
 * (at your option) any later version.
12
 
 *
13
 
 * This program is distributed in the hope that it will be useful, but
14
 
 * WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
 
 * See the GNU General Public License for more details.
17
 
 *
18
 
 * You should have received a copy of the GNU General Public License
19
 
 * along with this program; if not, write to the Free Software
20
 
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21
 
 */
22
 
 
23
 
#ifndef DHCPCD_H
24
 
#define DHCPCD_H
25
 
 
26
 
#ifndef PACKAGE
27
 
#define PACKAGE                 "dhcpcd"
28
 
#endif
29
 
#define PROGRAM_NAME            PACKAGE
30
 
 
31
 
#ifndef VERSION
32
 
#define VERSION                 "1.3.22-pl4"
33
 
#endif
34
 
 
35
 
 
36
 
#define DEFAULT_IFNAME          "eth0"
37
 
#define DEFAULT_IFNAME_LEN      4
38
 
#define DEFAULT_TIMEOUT         60
39
 
#define DEFAULT_LEASETIME       0xffffffff      /* infinite lease time */
40
 
 
41
 
#endif