diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4a60582
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*.iml
+.idea
diff --git a/.idea/.gitignore b/.idea/.gitignore
deleted file mode 100644
index 1c2fda5..0000000
--- a/.idea/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
-# Default ignored files
-/shelf/
-/workspace.xml
-# Editor-based HTTP Client requests
-/httpRequests/
-# Datasource local storage ignored files
-/dataSources/
-/dataSources.local.xml
diff --git a/.idea/modules.xml b/.idea/modules.xml
deleted file mode 100644
index ee87094..0000000
--- a/.idea/modules.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/pndpd.iml b/.idea/pndpd.iml
deleted file mode 100644
index 338a266..0000000
--- a/.idea/pndpd.iml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/remote-targets.xml b/.idea/remote-targets.xml
deleted file mode 100644
index 0a14203..0000000
--- a/.idea/remote-targets.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
deleted file mode 100644
index 94a25f7..0000000
--- a/.idea/vcs.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/README.md b/README.md
index d1ff93f..4ea5cee 100644
--- a/README.md
+++ b/README.md
@@ -4,14 +4,14 @@
- Respond to all NDP solicitations on an interface
- Respond to NDP solicitations for whitelisted addresses on an interface
- Proxy NDP between interfaces with an optional whitelist for neighbor solicitations
-- Optionally automatically determine whitelist based on the IPs assigned to the interfaces
+- Optionally determine whitelist automatically based on the IPs assigned to the interfaces
- Permissions required: root or CAP_NET_RAW
## Usage
````
-pndpd config ")
-pndpd respond ")
-pndpd proxy ")
+pndpd config
+pndpd respond
+pndpd proxy
````
More options and additional documentation in the example config file (pndpd.conf).
@@ -31,4 +31,4 @@ proxyInstance := pndp.NewProxy(iface1 string, iface2 string, filter []*net.IPNet
proxyInstance.Start()
proxyInstance.Stop()
````
-Pull request are welcome for any functionality you add.
\ No newline at end of file
+Pull requests are welcome for any functionality you add.
diff --git a/pndp/process.go b/pndp/process.go
index 5078d64..d97a395 100644
--- a/pndp/process.go
+++ b/pndp/process.go
@@ -126,7 +126,7 @@ func (obj *ProxyObj) start() {
}
//Stop a running Proxy instance
-// Returns false on success
+// Returns false on error
func (obj *ProxyObj) Stop() bool {
close(obj.stopChan)
fmt.Println("Shutting down proxy instance..")
diff --git a/pndpd.conf b/pndpd.conf
index c2f5cb6..4d49507 100644
--- a/pndpd.conf
+++ b/pndpd.conf
@@ -30,6 +30,7 @@ responder {
// Proxy example with autoconfigured whitelist
// The whitelist is configured based on the addresses assigned to the interface specified. This works even if the IP addresses change frequently.
+// The whitelist is applied to iface2
proxy {
iface1 eth0
iface2 eth1