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
0968a57e
Commit
0968a57e
authored
Apr 24, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
system: always enable source track timeout input
(cherry picked from commit
4490ebf7
)
parent
15eafb83
Changes
1
Show 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 @
0968a57e
...
@@ -251,20 +251,8 @@ include("head.inc");
...
@@ -251,20 +251,8 @@ include("head.inc");
?>
?>
<body>
<body>
<?php
include
(
"fbegin.inc"
);
<?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>
<section
class=
"page-content-main"
>
<section
class=
"page-content-main"
>
<div
class=
"container-fluid"
>
<div
class=
"container-fluid"
>
...
@@ -341,7 +329,7 @@ include("head.inc");
...
@@ -341,7 +329,7 @@ include("head.inc");
<tr>
<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><a
id=
"help_for_lb_use_sticky"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"Sticky connections"
);
?>
</td>
<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
/>
<strong>
<?=
gettext
(
"Use sticky connections"
);
?>
</strong><br
/>
<div
class=
"hidden"
for=
"help_for_lb_use_sticky"
>
<div
class=
"hidden"
for=
"help_for_lb_use_sticky"
>
<?=
gettext
(
"Successive connections will be redirected to the servers "
.
<?=
gettext
(
"Successive connections will be redirected to the servers "
.
...
@@ -352,8 +340,8 @@ include("head.inc");
...
@@ -352,8 +340,8 @@ include("head.inc");
"the sticky connection. Further connections from that host "
.
"the sticky connection. Further connections from that host "
.
"will be redirected to the next web server in the round "
.
"will be redirected to the next web server in the round "
.
"robin. Changing this option will restart the Load Balancing service."
);
?>
"robin. Changing this option will restart the Load Balancing service."
);
?>
</div>
</div>
<br/>
<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
\"
"
:
""
;
?>
/>
<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"
>
<div
class=
"hidden"
for=
"help_for_lb_use_sticky"
>
<?=
gettext
(
"Set the source tracking timeout for sticky connections. "
.
<?=
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