Commits

Bryan O'Sullivan committed e73a350

Ignore duplicate messages.

  • Participants
  • Parent commits 41c0769

Comments (0)

Files changed (2)

     }
 
     strcpy(i->name, RTA_DATA(attrs[IFLA_IFNAME]));
-    printf("info for %s\n", i->name);
     
     return i;
 }
 	goto done;
     }
     
+    if (i->flags == info->ifi_flags) {
+	goto done;
+    }
+    
     printf("%s: flags 0x%08x -> 0x%08x\n", name, i->flags, info->ifi_flags);
 
  done: