commit-inetutils
[Top][All Lists]
Advanced

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

[SCM] GNU Inetutils branch, master, updated. inetutils-1_8-9-g3c03361


From: Alfred M. Szmidt
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_8-9-g3c03361
Date: Mon, 16 Aug 2010 15:51:00 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".

The branch, master has been updated
       via  3c0336109f709620b15f7b83474947016f56f4a2 (commit)
      from  95ac7d15532a2a42db9048d4cc7b8ca4f7b2c3bd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=3c0336109f709620b15f7b83474947016f56f4a2


commit 3c0336109f709620b15f7b83474947016f56f4a2
Author: Alfred M. Szmidt <address@hidden>
Date:   Mon Aug 16 17:49:52 2010 +0200

    ifconfig/options.c (parse_cmdline): Error out if IFNX is NULL.

diff --git a/ChangeLog b/ChangeLog
index 052daee..9411080 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-16  Alfred M. Szmidt  <address@hidden>
+
+       * ifconfig/options.c (parse_cmdline): Error out if IFNX is NULL.
+
 2010-07-30  Giuseppe Scrivano  <address@hidden>
 
        * ifconfig/if_index.c (if_nameindex): Remove local variable `len'.
diff --git a/ifconfig/options.c b/ifconfig/options.c
index 752aa47..0bcef2c 100644
--- a/ifconfig/options.c
+++ b/ifconfig/options.c
@@ -591,6 +591,8 @@ parse_cmdline (int argc, char *argv[])
       struct if_nameindex *ifnx, *ifnxp;
 
       ifnx = ifnxp = if_nameindex ();
+      if (!ifnx)
+       error (EXIT_FAILURE, 0, "could not get list of interfaces");
       while (ifnxp->if_index != 0 || ifnxp->if_name != NULL)
        {
          struct ifconfig *ifp;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog          |    4 ++++
 ifconfig/options.c |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]