summaryrefslogtreecommitdiff
path: root/accel-pptpd/ipdb.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-08-23 13:36:50 +0400
committerKozlov Dmitry <dima@server>2010-08-23 18:32:37 +0400
commit76615aa33fb294f2fdfdee3e4687de94bb5efce9 (patch)
tree5ff166a087fdd349de42cca87326a85570af9a8f /accel-pptpd/ipdb.c
parent1dbf2a2820c428b8ba8b04d6ec30c78f642cbfb3 (diff)
downloadaccel-ppp-xebd-76615aa33fb294f2fdfdee3e4687de94bb5efce9.tar.gz
accel-ppp-xebd-76615aa33fb294f2fdfdee3e4687de94bb5efce9.zip
implemented base IPCP module
implemented IP-Address configuration option
Diffstat (limited to 'accel-pptpd/ipdb.c')
-rw-r--r--accel-pptpd/ipdb.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/accel-pptpd/ipdb.c b/accel-pptpd/ipdb.c
new file mode 100644
index 0000000..fb13971
--- /dev/null
+++ b/accel-pptpd/ipdb.c
@@ -0,0 +1,10 @@
+#include "ipdb.h"
+
+int ipdb_get(in_addr_t *addr, in_addr_t *peer_addr)
+{
+ *addr=inet_addr("192.168.200.100");
+ *peer_addr=inet_addr("192.168.200.200");
+
+ return 0;
+}
+