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
4490ebf7
Commit
4490ebf7
authored
Apr 24, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
system: always enable source track timeout input
parent
d17aef5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
17 deletions
+5
-17
system_advanced_misc.php
src/www/system_advanced_misc.php
+5
-17
No files found.
src/www/system_advanced_misc.php
View file @
4490ebf7
...
...
@@ -223,20 +223,8 @@ include("head.inc");
?>
<body>
<?php
include
(
"fbegin.inc"
);
?>
<script
type=
"text/javascript"
>
//
<!
[
CDATA
[
function
sticky_checked
(
obj
)
{
if
(
obj
.
checked
)
{
$
(
'
#srctrack
'
).
attr
(
'
disabled
'
,
false
);
}
else
{
$
(
'
#srctrack
'
).
attr
(
'
disabled
'
,
'
true
'
);
}
}
//]]>
</script>
<?php
include
(
"fbegin.inc"
);
?>
<section
class=
"page-content-main"
>
<div
class=
"container-fluid"
>
...
...
@@ -274,7 +262,7 @@ include("head.inc");
<tr>
<td><a
id=
"help_for_lb_use_sticky"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"Sticky connections"
);
?>
</td>
<td>
<input
name=
"lb_use_sticky"
type=
"checkbox"
id=
"lb_use_sticky"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'lb_use_sticky'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
onclick=
"sticky_checked(this)"
/>
<input
name=
"lb_use_sticky"
type=
"checkbox"
id=
"lb_use_sticky"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'lb_use_sticky'
])
?
'checked="checked"'
:
''
;
?>
/>
<strong>
<?=
gettext
(
"Use sticky connections"
);
?>
</strong><br
/>
<div
class=
"hidden"
for=
"help_for_lb_use_sticky"
>
<?=
gettext
(
"Successive connections will be redirected to the servers "
.
...
...
@@ -285,8 +273,8 @@ include("head.inc");
"the sticky connection. Further connections from that host "
.
"will be redirected to the next web server in the round "
.
"robin. Changing this option will restart the Load Balancing service."
);
?>
</div>
<input
placeholder=
"
<?=
gettext
(
"Source tracking timeout"
);
?>
"
title=
"
<?=
gettext
(
"Source tracking timeout"
);
?>
"
data-toggle=
"tooltip"
data-placement=
"left"
name=
"srctrack"
id=
"srctrack"
type=
"text"
value=
"
<?=
!
empty
(
$pconfig
[
'srctrack'
])
?
$pconfig
[
'srctrack'
]
:
""
;
?>
"
<?=
empty
(
$pconfig
[
'lb_use_sticky'
])
?
"disabled=
\"
disabled
\"
"
:
""
;
?>
/>
</div>
<br/>
<input
placeholder=
"
<?=
gettext
(
"Source tracking timeout"
);
?>
"
title=
"
<?=
gettext
(
"Source tracking timeout"
);
?>
"
name=
"srctrack"
id=
"srctrack"
type=
"text"
value=
"
<?=
!
empty
(
$pconfig
[
'srctrack'
])
?
$pconfig
[
'srctrack'
]
:
""
;
?>
"
/>
<div
class=
"hidden"
for=
"help_for_lb_use_sticky"
>
<?=
gettext
(
"Set the source tracking timeout for sticky connections. "
.
...
...
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