X-Git-Url: https://git.syn-net.org/?p=debian%2Fuanytun.git;a=blobdiff_plain;f=src%2Fdaemon.h;h=04a4d4f5526074b885e5225fa73b989621fac3d8;hp=ac0516e422816519339f1953c6862bb61a6eb681;hb=aa74a4fd24d8e8537f76531e6257fa90145355d3;hpb=b81b2c1954fe3e3317e6fa260c5ffdc9eeee966c diff --git a/src/daemon.h b/src/daemon.h index ac0516e..04a4d4f 100644 --- a/src/daemon.h +++ b/src/daemon.h @@ -15,13 +15,14 @@ * tunneling and relaying of packets of any protocol. * * - * Copyright (C) 2007-2008 Christian Pointner + * Copyright (C) 2007-2010 Christian Pointner * * This file is part of uAnytun. * * uAnytun is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 3 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. * * uAnytun is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -32,8 +33,8 @@ * along with uAnytun. If not, see . */ -#ifndef _DAEMON_H_ -#define _DAEMON_H_ +#ifndef UANYTUN_daemon_h_INCLUDED +#define UANYTUN_daemon_h_INCLUDED #include #include @@ -108,7 +109,7 @@ int priv_drop(priv_info_t* priv) int do_chroot(const char* chrootdir) { if(getuid() != 0) { - log_printf(ERROR, "this programm has to be run as root in order to run in a chroot"); + log_printf(ERROR, "this program has to be run as root in order to run in a chroot"); return -1; }