mbox series

[iptables,0/2] Drop use of some obsolete functions

Message ID 20210427104259.22042-1-phil@nwl.cc
Headers show
Series Drop use of some obsolete functions | expand

Message

Phil Sutter April 27, 2021, 10:42 a.m. UTC
A run of 'rpminspect' (a static code analyzer) complained about calls to
gethostbyaddr(), inet_aton() and inet_ntoa(). Eliminating those offered
the chance to drop some redundant code from nft-arp.c as well.

Phil Sutter (2):
  Eliminate inet_aton() and inet_ntoa()
  nft-arp: Make use of ipv4_addr_to_string()

 extensions/libebt_among.c |  6 ++-
 iptables/nft-arp.c        | 99 ++++-----------------------------------
 iptables/nft-ipv4.c       | 23 +++++----
 iptables/xshared.c        |  6 +--
 iptables/xshared.h        |  3 ++
 5 files changed, 32 insertions(+), 105 deletions(-)