mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-09 17:13:49 +08:00
snmp_trap_dst_ip_set: ip_addr_t pointer can be const
This commit is contained in:
@@ -100,7 +100,7 @@ snmp_trap_dst_enable(u8_t dst_idx, u8_t enable)
|
||||
* @param dst IPv4 address in host order.
|
||||
*/
|
||||
void
|
||||
snmp_trap_dst_ip_set(u8_t dst_idx, ip_addr_t *dst)
|
||||
snmp_trap_dst_ip_set(u8_t dst_idx, const ip_addr_t *dst)
|
||||
{
|
||||
if (dst_idx < SNMP_TRAP_DESTINATIONS)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user