Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
powder-vpn
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
David Johnson
powder-vpn
Commits
442712df
Commit
442712df
authored
Aug 24, 2018
by
David Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A couple more double expansion bugs. I don't do this enough...
parent
af02ccb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bin/setup-vpn.sh
bin/setup-vpn.sh
+4
-4
No files found.
bin/setup-vpn.sh
View file @
442712df
...
...
@@ -125,7 +125,7 @@ persist-tun
status openvpn-status.log
verb 3
push "route
$
MLAN_NETWORK
$MLAN
_MASK
"
push "route
$
mlan_NETWORK
$mlan
_MASK
"
EOF
elif
[
$VPNTYPE
=
'bridged'
]
;
then
echo
"bridged VPNTYPE not yet supported!"
...
...
@@ -182,11 +182,11 @@ for aggprefix in $AGGREGATES ; do
eval
"agghost=
\$
$varname
"
eval
"varname=
${
aggprefix
}
_GW"
eval
"agg_gw=
\$
$varname
"
eval
"varname=
$
agglan
_NETWORK
"
eval
"varname=
$
{
agglan
}
_NETWORK"
eval
"agg_net=
\$
$varname
"
eval
"varname=
$
agglan
_MASK
"
eval
"varname=
$
{
agglan
}
_MASK"
eval
"agg_mask=
\$
$varname
"
eval
"varname=
$
agglan
_CIDR
"
eval
"varname=
$
{
agglan
}
_CIDR"
eval
"agg_cidr=
\$
$varname
"
aggnum
=
`
echo
$aggprefix
|
sed
-n
-r
-e
's/^agg([0-9]+)$/\1/p'
`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment