Re: [PATCH 2/7] nwfilter: Fix return type of virNWFilterCanApplyBasicRules callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 14, 2025 at 16:24:11 +0200, Michal Privoznik via Devel wrote:
> From: Michal Privoznik <mprivozn@xxxxxxxxxx>
> 
> The virNWFilterCanApplyBasicRules() callback returns an int but
> in fact its return type is a boolean. Even its only
> implementation (ebiptablesCanApplyBasicRules()) returns a
> boolean. Switch the return type from integer to boolean.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/nwfilter/nwfilter_ebiptables_driver.c | 2 +-
>  src/nwfilter/nwfilter_tech_driver.h       | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux