necouchman commented on a change in pull request #320:
URL: https://github.com/apache/guacamole-server/pull/320#discussion_r549837028
##########
File path: src/libguac/guacamole/wol.h
##########
@@ -42,11 +42,15 @@
* @param broadcast_addr
* The broadcast address to which to send the magic Wake-on-LAN packet.
*
+ * @param broadcast_port
+ * The UDP port to use when sending the WoL packet.
+ *
* @return
* Zero if the packet is successfully sent to the destination; non-zero
* if the packet cannot be sent.
*/
-int guac_wol_wake(const char* mac_addr, const char* broadcast_addr);
+int guac_wol_wake(const char* mac_addr, const char* broadcast_addr,
+ const unsigned short broadcast_port);
Review comment:
Yeah, that's a good point. I'll rename it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]