diff options
| author | Sri Mohana Singamsetty <srimohans@gmail.com> | 2020-03-26 19:07:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-26 19:07:36 -0700 |
| commit | 0298bb01bb71a33a8d4cbdb676a9ad0e8d5987e7 (patch) | |
| tree | 7ff68371b00434ff3dac4d169d0f214e7a8fe2e2 /lib/snmp.c | |
| parent | 762d514faba86051196f4806c083b59886157e82 (diff) | |
| parent | b54892e0ea247f52beea96855734919f80de5217 (diff) | |
Merge pull request #6085 from donaldsharp/bgp_node_get_prefix
Bgp node get prefix
Diffstat (limited to 'lib/snmp.c')
| -rw-r--r-- | lib/snmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/snmp.c b/lib/snmp.c index f11d9dc8cf..736a3c62b8 100644 --- a/lib/snmp.c +++ b/lib/snmp.c @@ -64,10 +64,10 @@ void oid2in_addr(oid oid[], int len, struct in_addr *addr) *pnt++ = oid[i]; } -void oid_copy_addr(oid oid[], struct in_addr *addr, int len) +void oid_copy_addr(oid oid[], const struct in_addr *addr, int len) { int i; - uint8_t *pnt; + const uint8_t *pnt; if (len == 0) return; |
