The interface flags are from type short
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 14 Oct 2008 11:56:31 +0000 (13:56 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 14 Oct 2008 11:56:31 +0000 (13:56 +0200)
include/rtnl.h
src/rtnl.c

index 57e8e07..fac302f 100644 (file)
@@ -39,7 +39,7 @@ extern "C" {
 struct connman_rtnl {
        const char *name;
        int priority;
-       void (*link_flags) (int index, int flags);
+       void (*link_flags) (int index, short flags);
 };
 
 extern int connman_rtnl_register(struct connman_rtnl *rtnl);
index fca9d4f..6549488 100644 (file)
@@ -86,7 +86,7 @@ void connman_rtnl_unregister(struct connman_rtnl *rtnl)
        g_static_rw_lock_writer_unlock(&rtnl_lock);
 }
 
-static void process_link_flags(int index, int flags)
+static void process_link_flags(int index, short flags)
 {
        GSList *list;