1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-06 06:29:03 +00:00

Use const char *.

This commit is contained in:
batrick
2010-08-28 16:01:35 +00:00
parent b2350aa947
commit 80672911fd
2 changed files with 2 additions and 2 deletions

View File

@@ -320,7 +320,7 @@ struct dnet_collector_route_nfo {
/* Looks for an interface with the given name (iname), and returns the
corresponding interface_info if found. Will accept a match of
devname or devfullname. Returns NULL if none found */
struct interface_info *getInterfaceByName(char *iname);
struct interface_info *getInterfaceByName(const char *iname);
/* Parse the system routing table, converting each route into a
sys_route entry. Returns an array of sys_routes. numroutes is set