From 6028ff53e35db2d1f6219a7994a3d7121dacedf1 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 17:27:52 +0000 Subject: Apply patch iptstate-2.2.6-rhbz599181.patch patch_name: iptstate-2.2.6-rhbz599181.patch present_in_specfile: true --- diff --git a/iptstate.cc b/iptstate.cc index c7d3971..e366da2 100644 --- a/iptstate.cc +++ b/iptstate.cc @@ -2407,7 +2407,10 @@ int main(int argc, char *argv[]) prompt = "Counters requested, but not enabled in the"; prompt += " kernel!"; flags.counters = 0; - c_warn(mainwin, prompt, flags); + if (flags.single) + cerr << prompt << endl; + else + c_warn(mainwin, prompt, flags); } // Sort our table