]> git.proxmox.com Git - mirror_frr.git/commit
lib: Make prefix_hash_key accept a const
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 30 Apr 2019 23:40:11 +0000 (19:40 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 2 May 2019 00:28:57 +0000 (20:28 -0400)
commit6701b1b7e749af853f9b9363ef507189d10ef6d2
tree41d115f44809d9c955ff595e77943e6c9d03dcb5
parenta07f484614e0e9cc92afaf4bf58e6f6507fdbed4
lib: Make prefix_hash_key accept a const

We should not be modifying the pointer for the prefix_hash_key
function, make it a const so that we can use it elsewhere.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/prefix.c
lib/prefix.h