Update README.md
This commit is contained in:
parent
2b18c35dba
commit
77165e5b39
11
README.md
11
README.md
@ -12,3 +12,14 @@ pndpd readconfig <path to file>
|
||||
pndpd respond <interface> <optional whitelist of CIDRs separated with a semicolon>
|
||||
pndpd proxy <interface1> <interface2>
|
||||
````
|
||||
|
||||
### Developing
|
||||
It is easy to add functionality to PNDPD. For additions outside the core functionality you only need to keep the following methods in mind:
|
||||
````
|
||||
package main
|
||||
import "pndpd/pndp"
|
||||
|
||||
pndp.SimpleRespond(iface string, filter []*net.IPNet)
|
||||
|
||||
pndp.Proxy(iface1, iface2 string)
|
||||
````
|
Loading…
x
Reference in New Issue
Block a user