Commit d662fae3 authored by Lucas Biaggi's avatar Lucas Biaggi

cleanup unused code

parent 2f8afd11
......@@ -368,18 +368,10 @@ QString Rule::sourceApplication() const
return m_sourceApplication;
}
/* QString Rule::destAddress() const */
/* { */
/* return m_destAddress; */
/* } */
QString Rule::sourceAddress() const
{
return m_sourceAddress;
}
/* QString Rule::destPort() const */
/* { */
/* return m_destPort; */
/* } */
QString Rule::sourcePort() const
{
return m_sourcePort;
......
......@@ -78,17 +78,11 @@ public:
QString toStr() const;
QString fromStr() const;
QString actionStr() const;
QString protocolStr() const;
QString ipV6Str() const;
QString loggingStr() const;
/* QString toXml() const; */
QString policy() const;
QString destinationAddress() const;
QString destinationPort() const;
QString interfaceStr() const;
QString sourceApplication() const;
/* QString destAddress() const; */
/* QString destPort() const; */
QString sourceAddress() const;
QString sourcePort() const;
QString interfaceIn() const;
......@@ -96,6 +90,11 @@ public:
QString destinationApplication() const;
Types::Logging logging() const;
// TODO: are they really necessary?
QString protocolStr() const;
QString ipV6Str() const;
QString interfaceStr() const;
bool incoming() const;
bool ipv6() const;
int interface() const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment