ell.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] avoid using inet_ntoa() and inet_aton()
@ 2021-06-03  9:50 Davide Caratti
  2021-06-03  9:50 ` [PATCH 1/2] avoid using inet_ntoa() Davide Caratti
  2021-06-03  9:50 ` [PATCH 2/2] avoid using inet_aton() Davide Caratti
  0 siblings, 2 replies; 11+ messages in thread
From: Davide Caratti @ 2021-06-03  9:50 UTC (permalink / raw)
  To: ell

[-- Attachment #1: Type: text/plain, Size: 588 bytes --]

some static checkers, like rpminspect, complain about use of "forbidden"
functions inet_aton() and inet_ntoa(). Use inet_pton() and inet_ntop()
instead.


Davide Caratti (2):
  avoid using inet_ntoa()
  avoid using inet_aton()

 ell/acd.c                    |  5 +++--
 ell/dhcp-lease.c             |  3 ++-
 ell/dhcp-server.c            | 25 ++++++++++++++-----------
 ell/dhcp.c                   | 17 +++++++++++++++--
 ell/rtnl.c                   |  7 +++++--
 examples/https-server-test.c |  4 +++-
 6 files changed, 42 insertions(+), 19 deletions(-)

-- 
2.31.1

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-06-10 22:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03  9:50 [PATCH 0/2] avoid using inet_ntoa() and inet_aton() Davide Caratti
2021-06-03  9:50 ` [PATCH 1/2] avoid using inet_ntoa() Davide Caratti
2021-06-04 16:01   ` Denis Kenzior
2021-06-07 17:00     ` d. caratti
2021-06-07 18:41       ` Denis Kenzior
2021-06-08 12:46         ` d. caratti
2021-06-08 16:22           ` Denis Kenzior
2021-06-09 10:18             ` d. caratti
2021-06-10 22:12               ` Denis Kenzior
2021-06-03  9:50 ` [PATCH 2/2] avoid using inet_aton() Davide Caratti
2021-06-04 15:41   ` Denis Kenzior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).