aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2020-05-22 14:50:13 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2020-05-22 14:50:50 +0300
commitef7e395291df6aef426c3e76ce0cfe4d6a89f32f (patch)
treef89acdd463069c51cc89bf0b46e73775d2966db2
parent8936fa72d533d8a55011e4adf5d4802371c8ed90 (diff)
downloaddmvpn-tools-ef7e395291df6aef426c3e76ce0cfe4d6a89f32f.tar.gz
dmvpn-tools-ef7e395291df6aef426c3e76ce0cfe4d6a89f32f.tar.bz2
dmvpn-tools-ef7e395291df6aef426c3e76ce0cfe4d6a89f32f.tar.xz
setup-dmvpn: use constant NHRP network ID
multiple networks not supported anyway for now
-rwxr-xr-xsetup-dmvpn5
1 files changed, 1 insertions, 4 deletions
diff --git a/setup-dmvpn b/setup-dmvpn
index 5daea5b..0ddc02b 100755
--- a/setup-dmvpn
+++ b/setup-dmvpn
@@ -21,9 +21,6 @@ for attr in GRE_IPV4_ADDRESS HUBS VPNC_TYPE; do
done
-ask "NHRP network ID" 1
-NHRP_ID=$resp
-
NFLOG_GROUP=
if [ $VPNC_TYPE = hub ]; then
ask "NFLOG group" 1
@@ -85,7 +82,7 @@ get_nhrp_config() {
(
IFS=$'\n'
get_config_cmds "$1 nhrp" \
- "network-id $NHRP_ID" \
+ "network-id 1" \
shortcut \
"registration no-unique" \
"${NFLOG_GROUP:+redirect}" \