projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
804d90b
)
more state_state removal
author
Brendan O'Dea
<bod@optus.net>
Mon, 18 Apr 2005 04:18:15 +0000
(
04:18
+0000)
committer
Brendan O'Dea
<bod@optus.net>
Mon, 18 Apr 2005 04:18:15 +0000
(
04:18
+0000)
Makefile
patch
|
blob
|
history
l2tpns.h
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
1a44ddd
..
1235b0e
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-9,7
+9,6
@@
statedir = /var/lib/l2tpns
DEFINES =
DEFINES += -DLIBDIR='"$(libdir)"'
DEFINES += -DETCDIR='"$(etcdir)"'
DEFINES =
DEFINES += -DLIBDIR='"$(libdir)"'
DEFINES += -DETCDIR='"$(etcdir)"'
-DEFINES += -DSTATEDIR='"$(statedir)"'
OPTIM =
OPTIM += -g
OPTIM =
OPTIM += -g
diff --git
a/l2tpns.h
b/l2tpns.h
index
9b2eb53
..
2054fc2
100644
(file)
--- a/
l2tpns.h
+++ b/
l2tpns.h
@@
-1,5
+1,5
@@
// L2TPNS Global Stuff
// L2TPNS Global Stuff
-// $Id: l2tpns.h,v 1.6
1 2005-03-10 06:18:47
bodea Exp $
+// $Id: l2tpns.h,v 1.6
2 2005-04-18 04:18:15
bodea Exp $
#ifndef __L2TPNS_H__
#define __L2TPNS_H__
#ifndef __L2TPNS_H__
#define __L2TPNS_H__
@@
-53,10
+53,6
@@
#define LIBDIR "/usr/lib/l2tpns"
#endif
#define LIBDIR "/usr/lib/l2tpns"
#endif
-#ifndef STATEDIR
-#define STATEDIR "/var/lib/l2tpns"
-#endif
-
#ifndef PLUGINDIR
#define PLUGINDIR LIBDIR // Plugins
#endif
#ifndef PLUGINDIR
#define PLUGINDIR LIBDIR // Plugins
#endif
@@
-69,13
+65,8
@@
#define FLASHDIR ETCDIR
#endif
#define FLASHDIR ETCDIR
#endif
-#ifndef DATADIR
-#define DATADIR STATEDIR
-#endif
-
#define TUNDEVICE "/dev/net/tun"
#define RANDOMDEVICE "/dev/urandom" // default, not as secure as /dev/random but non-blocking
#define TUNDEVICE "/dev/net/tun"
#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 CLIUSERS FLASHDIR "/users" // CLI Users file
#define IPPOOLFILE FLASHDIR "/ip_pool" // Address pool configuration
#define CONFIGFILE FLASHDIR "/startup-config" // Configuration file
#define CLIUSERS FLASHDIR "/users" // CLI Users file
#define IPPOOLFILE FLASHDIR "/ip_pool" // Address pool configuration