ap51-flash: Define IPPORT_TFTP where it is used
[feed/packages.git] / utils / ap51-flash / patches / 100-ipport_tftp_def.patch
1 Index: ap51-flash-2016-10-16/proto.c
2 ===================================================================
3 --- ap51-flash-2016-10-16.orig/proto.c
4 +++ ap51-flash-2016-10-16/proto.c
5 @@ -29,6 +29,10 @@
6 #include "router_redboot.h"
7 #include "router_tftp_client.h"
8
9 +#ifndef IPPORT_TFTP
10 +#define IPPORT_TFTP 69
11 +#endif
12 +
13 #define TFTP_SRC_PORT 13337
14 #define REDBOOT_TELNET_SPORT 13337
15 #define REDBOOT_TELNET_DPORT 9000