Commits

Alessio Caiazza committed 67ca3bb

FIX: crash with no argument

  • Participants
  • Parent commits ca30529

Comments (0)

Files changed (1)

         init_socket();
         
         char* device = "eth0";
-        if(argc > 0)
+        if(argc > 1)
                 device = argv[1];
         myMac = get_mac(device);