Skip to content

Commit

Permalink
fixed load hardware mac
Browse files Browse the repository at this point in the history
  • Loading branch information
arfrie22 committed Jul 18, 2024
1 parent 4ae8191 commit db0f713
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions OpenSprinkler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -707,8 +707,6 @@ bool OpenSprinkler::load_hardware_mac(unsigned char* mac, bool wired) {
mac[4] = 0x31;
mac[5] = iopts[IOPT_DEVICE_ID];

if (m_server == NULL) return true;

if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) == 0) return true;

// Returns the mac address of the first interface if multiple active
Expand Down

0 comments on commit db0f713

Please sign in to comment.