Skip to content
Snippets Groups Projects
Commit 0e0d1c0e authored by Sebastian Woelke's avatar Sebastian Woelke
Browse files

Fixed typo.

parent bd100a4d
No related branches found
No related tags found
No related merge requests found
......@@ -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_saddr_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_saddr_set(const std::string& if_name, const addr_storage& gaddr) const;
const std::set<addr_storage>& get_input_saddr_set(const std::string& if_name, const addr_storage& gaddr) const;
std::string to_string_rule_binding() const;
std::string to_string_interface() const;
......
......@@ -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_saddr_set(const std::string& if_name, const addr_storage& gaddr) const{
return get_saddr_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_saddr_set(const std::string& if_name, const addr_storage& gaddr) const{
return get_saddr_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_saddr_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){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment