diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-12-22 16:38:29 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-12-22 17:30:04 +0100 |
commit | 216986e8481c81cd81a14138f5f7076c495bb2b4 (patch) | |
tree | 0bf932c58da291bc838d59ab466b1922efda4f2d /src/ogAdmLib.h | |
parent | 6e709160050187f631d622566e19bec77888bd49 (diff) |
#915 consolidate WoL sender function
This patch aims simplifies the WoL sender routine.
A few related changes:
- Replace goto err to continue if IP address is malformed
- Use ret |= instead of ret &= to accumulate error code.
Diffstat (limited to 'src/ogAdmLib.h')
-rw-r--r-- | src/ogAdmLib.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ogAdmLib.h b/src/ogAdmLib.h index 1845c2b..3e7de97 100644 --- a/src/ogAdmLib.h +++ b/src/ogAdmLib.h @@ -34,8 +34,6 @@ #define ANNOREF 2009 // Año de referencia base -#define PUERTO_WAKEUP 9 // Puerto wake up - #define MAXHARDWARE 128 // Máximos elementos hardware a detectar #define MAXSOFTWARE 8096 // Máximos elementos software a detectar |