Merge pull request #168 from toreanderson/hnetd-add-ip4mode
hnetd: support the ip4mode parameter
This commit is contained in:
commit
7ec8f06d6f
2 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,7 @@ config security security
|
|||
|
||||
config pa pa
|
||||
# option ip4prefix 10.0.0.0/8
|
||||
# option ip4mode ifuplink
|
||||
# option ulaprefix fd12:3456:789A::/48
|
||||
# option ulamode off
|
||||
option persistent_store /etc/hnet-pa.store
|
||||
|
|
|
@ -83,6 +83,9 @@ start_service() {
|
|||
config_get val pa ip4prefix
|
||||
[ -n "$val" ] && procd_append_param command --ip4prefix $val
|
||||
|
||||
config_get val pa ip4mode
|
||||
[ -n "$val" ] && procd_append_param command --ip4mode $val
|
||||
|
||||
config_get val pa ulaprefix
|
||||
[ -n "$val" ] && procd_append_param command --ulaprefix $val
|
||||
|
||||
|
|
Loading…
Reference in a new issue