Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
12e057fa
Commit
12e057fa
authored
Dec 29, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(legacy) PHP Notice: Undefined index: localip in /usr/local/etc/inc/interfaces.inc on line 1606
parent
d41b5a74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
interfaces.inc
src/etc/inc/interfaces.inc
+3
-3
No files found.
src/etc/inc/interfaces.inc
View file @
12e057fa
...
...
@@ -1603,9 +1603,9 @@ function interface_ppps_configure($interface)
}
}
}
$localips
=
explode
(
','
,
$ppp
[
'localip'
]
);
$gateways
=
explode
(
','
,
$ppp
[
'gateway'
]
);
$subnets
=
explode
(
','
,
$ppp
[
'subnet'
]
);
$localips
=
isset
(
$ppp
[
'localip'
])
?
explode
(
','
,
$ppp
[
'localip'
])
:
array
(
);
$gateways
=
isset
(
$ppp
[
'gateway'
])
?
explode
(
','
,
$ppp
[
'gateway'
])
:
array
(
);
$subnets
=
isset
(
$ppp
[
'subnet'
])
?
explode
(
','
,
$ppp
[
'subnet'
])
:
array
(
);
/* We bring up the parent interface first because if DHCP is configured on the parent we need
* to obtain an address first so we can write it in the mpd .conf file for PPTP and L2TP configs
...
...
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