more state_state removal
This commit is contained in:
parent
018edc9978
commit
2d5c2464df
2 changed files with 1 additions and 11 deletions
1
Makefile
1
Makefile
|
|
@ -9,7 +9,6 @@ statedir = /var/lib/l2tpns
|
||||||
DEFINES =
|
DEFINES =
|
||||||
DEFINES += -DLIBDIR='"$(libdir)"'
|
DEFINES += -DLIBDIR='"$(libdir)"'
|
||||||
DEFINES += -DETCDIR='"$(etcdir)"'
|
DEFINES += -DETCDIR='"$(etcdir)"'
|
||||||
DEFINES += -DSTATEDIR='"$(statedir)"'
|
|
||||||
|
|
||||||
OPTIM =
|
OPTIM =
|
||||||
OPTIM += -g
|
OPTIM += -g
|
||||||
|
|
|
||||||
11
l2tpns.h
11
l2tpns.h
|
|
@ -1,5 +1,5 @@
|
||||||
// L2TPNS Global Stuff
|
// L2TPNS Global Stuff
|
||||||
// $Id: l2tpns.h,v 1.61 2005/03/10 06:18:47 bodea Exp $
|
// $Id: l2tpns.h,v 1.62 2005/04/18 04:18:15 bodea Exp $
|
||||||
|
|
||||||
#ifndef __L2TPNS_H__
|
#ifndef __L2TPNS_H__
|
||||||
#define __L2TPNS_H__
|
#define __L2TPNS_H__
|
||||||
|
|
@ -53,10 +53,6 @@
|
||||||
#define LIBDIR "/usr/lib/l2tpns"
|
#define LIBDIR "/usr/lib/l2tpns"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef STATEDIR
|
|
||||||
#define STATEDIR "/var/lib/l2tpns"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PLUGINDIR
|
#ifndef PLUGINDIR
|
||||||
#define PLUGINDIR LIBDIR // Plugins
|
#define PLUGINDIR LIBDIR // Plugins
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -69,13 +65,8 @@
|
||||||
#define FLASHDIR ETCDIR
|
#define FLASHDIR ETCDIR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DATADIR
|
|
||||||
#define DATADIR STATEDIR
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define TUNDEVICE "/dev/net/tun"
|
#define TUNDEVICE "/dev/net/tun"
|
||||||
#define RANDOMDEVICE "/dev/urandom" // default, not as secure as /dev/random but non-blocking
|
#define RANDOMDEVICE "/dev/urandom" // default, not as secure as /dev/random but non-blocking
|
||||||
#define STATEFILE DATADIR "/state.dump" // State dump file
|
|
||||||
#define CONFIGFILE FLASHDIR "/startup-config" // Configuration file
|
#define CONFIGFILE FLASHDIR "/startup-config" // Configuration file
|
||||||
#define CLIUSERS FLASHDIR "/users" // CLI Users file
|
#define CLIUSERS FLASHDIR "/users" // CLI Users file
|
||||||
#define IPPOOLFILE FLASHDIR "/ip_pool" // Address pool configuration
|
#define IPPOOLFILE FLASHDIR "/ip_pool" // Address pool configuration
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue