ell.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Davide Caratti <davide.caratti@gmail.com>
To: ell@lists.01.org
Subject: [PATCH 0/2] avoid using inet_ntoa() and inet_aton()
Date: Thu, 03 Jun 2021 11:50:01 +0200	[thread overview]
Message-ID: <cover.1622713571.git.davide.caratti@gmail.com> (raw)

[-- 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

             reply	other threads:[~2021-06-03  9:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-03  9:50 Davide Caratti [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1622713571.git.davide.caratti@gmail.com \
    --to=davide.caratti@gmail.com \
    --cc=ell@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).