snmp_trap_dst_ip_set: ip_addr_t pointer can be const

This commit is contained in:
goldsimon
2015-10-02 09:58:31 +02:00
parent a9b6b5b704
commit 180ed573a5
2 changed files with 2 additions and 2 deletions

View File

@@ -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)
{