diff options
author | Can Erkin Acar <canacar@cvs.openbsd.org> | 2004-04-21 09:11:59 +0000 |
---|---|---|
committer | Can Erkin Acar <canacar@cvs.openbsd.org> | 2004-04-21 09:11:59 +0000 |
commit | 4f9fed7565249b264050b9445a7e0e586de0f0a3 (patch) | |
tree | 67c3166be63bd6ae4f496252e3b58a1576b9727e /usr.sbin/dhcpd/dhcpd.h | |
parent | 8177d16cfb62e571a0f0c0ace5e17d090d920ed1 (diff) |
filter writes and lock bpf descriptor, ok henning@
Diffstat (limited to 'usr.sbin/dhcpd/dhcpd.h')
-rw-r--r-- | usr.sbin/dhcpd/dhcpd.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/dhcpd/dhcpd.h b/usr.sbin/dhcpd/dhcpd.h index ef5b32154c5..7432afaff57 100644 --- a/usr.sbin/dhcpd/dhcpd.h +++ b/usr.sbin/dhcpd/dhcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.h,v 1.9 2004/04/20 05:35:33 henning Exp $ */ +/* $OpenBSD: dhcpd.h,v 1.10 2004/04/21 09:11:58 canacar Exp $ */ /* * Copyright (c) 1995, 1996, 1997, 1998, 1999 @@ -97,7 +97,8 @@ extern int h_errno; #include "dhcp.h" #include "tree.h" -#define LOCAL_PORT 68 +#define SERVER_PORT 67 +#define CLIENT_PORT 68 struct iaddr { int len; @@ -556,8 +557,8 @@ int parse_warn(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2))); extern time_t cur_time; extern struct group root_group; -extern u_int16_t local_port; -extern u_int16_t remote_port; +extern u_int16_t server_port; +extern u_int16_t client_port; extern int log_priority; extern int log_perror; |