Signed-off-by: Phil Sutter <p...@nwl.cc>
---
 misc/ss.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/misc/ss.c b/misc/ss.c
index bba7009..2f34962 100644
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -3669,6 +3669,8 @@ int main(int argc, char *argv[])
                        char *p, *p1;
                        if (!saw_query) {
                                current_filter.dbs = 0;
+                               state_filter = state_filter ?
+                                              state_filter : SS_CONN;
                                saw_query = 1;
                                do_default = 0;
                        }
-- 
2.1.2

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to