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_9_2-12-g34b3d3


From: Mats Erik Andersson
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_2-12-g34b3d3d
Date: Fri, 14 Mar 2014 23:58:16 +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  34b3d3d7e439eca9e59564bae2dd93993d5d5474 (commit)
      from  c889602c71be904522a112c87796a766613d1a44 (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=34b3d3d7e439eca9e59564bae2dd93993d5d5474


commit 34b3d3d7e439eca9e59564bae2dd93993d5d5474
Author: Mats Erik Andersson <address@hidden>
Date:   Sat Mar 15 00:57:15 2014 +0100

    ifconfig: Changeable flags on GNU/Linux.
    
    A previous commit declared too many interface flags
    to be fixed on GNU/Linux.  Liberate them again.

diff --git a/ChangeLog b/ChangeLog
index 635384c..42c5a59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-03-15  Mats Erik Andersson  <address@hidden>
+
+       ifconfig: Changeable flags on GNU/Linux.
+
+       * ifconfig/flags.h (IU_IFF_CANTCHANGE): Remove IFF_POINTOPOINT,
+       IFF_ALLMULTI, IFF_BROADCAST, IFF_MULTICAST, and IFF_PROMISC,
+       since they are changeable on GNU/Linux, and they are included
+       natively in IFF_CANTCHANGE on other systems.
+
 2014-03-13  Mats Erik Andersson  <address@hidden>
 
        logger: Source address resolution.
diff --git a/ifconfig/flags.h b/ifconfig/flags.h
index f488947..bee24fb 100644
--- a/ifconfig/flags.h
+++ b/ifconfig/flags.h
@@ -43,9 +43,7 @@
 
 /* Manually exclude flags that experience tell us be static.  */
 #define IU_IFF_CANTCHANGE \
-       (IFF_CANTCHANGE | IFF_LOOPBACK | IFF_POINTOPOINT | \
-        IFF_ALLMULTI | IFF_BROADCAST | IFF_MULTICAST | \
-        IFF_PROMISC | IFF_RUNNING)
+       (IFF_CANTCHANGE | IFF_LOOPBACK | IFF_RUNNING)
 
 /* Return the name corresponding to the interface flag FLAG.
    If FLAG is unknown, return NULL.
@@ -61,7 +59,7 @@ int if_nametoflag (const char *name, size_t len, int *prev);
 int if_nameztoflag (const char *name, int *prev);
 
 /* Print the flags in FLAGS, using AVOID as in if_flagtoname, and
-   SEPERATOR between individual flags.  Returns the number of
+   SEPARATOR between individual flags.  Returns the number of
    characters printed.  */
 int print_if_flags (int flags, const char *avoid, char seperator);
 

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

Summary of changes:
 ChangeLog        |    9 +++++++++
 ifconfig/flags.h |    6 ++----
 2 files changed, 11 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

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