Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mcproxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Fork
mcproxy
Commits
0e0d1c0e
Commit
0e0d1c0e
authored
11 years ago
by
Sebastian Woelke
Browse files
Options
Downloads
Patches
Plain Diff
Fixed typo.
parent
bd100a4d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mcproxy/include/parser/interface.hpp
+3
-3
3 additions, 3 deletions
mcproxy/include/parser/interface.hpp
mcproxy/src/parser/interface.cpp
+5
-5
5 additions, 5 deletions
mcproxy/src/parser/interface.cpp
with
8 additions
and
8 deletions
mcproxy/include/parser/interface.hpp
+
3
−
3
View file @
0e0d1c0e
...
...
@@ -189,7 +189,7 @@ class interface
std
::
unique_ptr
<
rule_binding
>
m_output_filter
;
std
::
unique_ptr
<
rule_binding
>
m_input_filter
;
rb_filter_type
get_filter_type
(
const
std
::
unique_ptr
<
rule_binding
>&
filter
)
const
;
const
std
::
set
<
addr_storage
>&
get_addr_set
(
const
std
::
string
&
if_name
,
const
addr_storage
&
gaddr
,
const
std
::
unique_ptr
<
rule_binding
>&
filter
)
const
;
const
std
::
set
<
addr_storage
>&
get_
s
addr_set
(
const
std
::
string
&
if_name
,
const
addr_storage
&
gaddr
,
const
std
::
unique_ptr
<
rule_binding
>&
filter
)
const
;
public:
interface
(
const
std
::
string
&
if_name
);
...
...
@@ -198,8 +198,8 @@ public:
rb_filter_type
get_output_filter_type
()
const
;
rb_filter_type
get_input_filter_type
()
const
;
const
std
::
set
<
addr_storage
>&
get_output_addr_set
(
const
std
::
string
&
if_name
,
const
addr_storage
&
gaddr
)
const
;
const
std
::
set
<
addr_storage
>&
get_input_addr_set
(
const
std
::
string
&
if_name
,
const
addr_storage
&
gaddr
)
const
;
const
std
::
set
<
addr_storage
>&
get_output_
s
addr_set
(
const
std
::
string
&
if_name
,
const
addr_storage
&
gaddr
)
const
;
const
std
::
set
<
addr_storage
>&
get_input_
s
addr_set
(
const
std
::
string
&
if_name
,
const
addr_storage
&
gaddr
)
const
;
std
::
string
to_string_rule_binding
()
const
;
std
::
string
to_string_interface
()
const
;
...
...
This diff is collapsed.
Click to expand it.
mcproxy/src/parser/interface.cpp
+
5
−
5
View file @
0e0d1c0e
...
...
@@ -452,15 +452,15 @@ rb_filter_type interface::get_filter_type(const std::unique_ptr<rule_binding>& f
}
}
const
std
::
set
<
addr_storage
>&
interface
::
get_output_addr_set
(
const
std
::
string
&
if_name
,
const
addr_storage
&
gaddr
)
const
{
return
get_addr_set
(
if_name
,
gaddr
,
m_output_filter
);
const
std
::
set
<
addr_storage
>&
interface
::
get_output_
s
addr_set
(
const
std
::
string
&
if_name
,
const
addr_storage
&
gaddr
)
const
{
return
get_
s
addr_set
(
if_name
,
gaddr
,
m_output_filter
);
}
const
std
::
set
<
addr_storage
>&
interface
::
get_input_addr_set
(
const
std
::
string
&
if_name
,
const
addr_storage
&
gaddr
)
const
{
return
get_addr_set
(
if_name
,
gaddr
,
m_input_filter
);
const
std
::
set
<
addr_storage
>&
interface
::
get_input_
s
addr_set
(
const
std
::
string
&
if_name
,
const
addr_storage
&
gaddr
)
const
{
return
get_
s
addr_set
(
if_name
,
gaddr
,
m_input_filter
);
}
const
std
::
set
<
addr_storage
>&
interface
::
get_addr_set
(
const
std
::
string
&
if_name
,
const
addr_storage
&
gaddr
,
const
std
::
unique_ptr
<
rule_binding
>&
filter
)
const
{
const
std
::
set
<
addr_storage
>&
interface
::
get_
s
addr_set
(
const
std
::
string
&
if_name
,
const
addr_storage
&
gaddr
,
const
std
::
unique_ptr
<
rule_binding
>&
filter
)
const
{
static
const
std
::
set
<
addr_storage
>
empty_set
;
if
(
filter
.
get
()
!=
nullptr
){
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment