Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Files at this revision

API Documentation at this revision

Comitter:
andrewboyson
Date:
Mon May 03 17:17:02 2021 +0000
Parent:
197:465f5f2154b7
Child:
199:d360a574bc2a
Commit message:
Quietly drop udp port 0 which the WIZ lights were sending after a power cut.

Changed in this revision

udp/udp.c Show annotated file Show diff for this revision Revisions of this file
--- a/udp/udp.c	Sat Apr 24 10:52:00 2021 +0000
+++ b/udp/udp.c	Mon May 03 17:17:02 2021 +0000
@@ -85,6 +85,7 @@
         case TFTP_CLIENT_PORT:          return TftpHandlePacketReceived(traceback,                     dataLengthRx, pDataRx, pPataLengthTx, pDataTx);  //60690
         
         //Quietly drop these
+        case     0:             //Unused but can be generated accidentally. For example the WIZ lights send it when powered up.
         case DHCP_SERVER_PORT:  //67
         case TFTP_SERVER_PORT:  //69
         case   137:             //NETBIOS name service