summaryrefslogtreecommitdiff
path: root/isisd/isis_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/isis_misc.c')
-rw-r--r--isisd/isis_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_misc.c b/isisd/isis_misc.c
index 300f02cb..a56856e0 100644
--- a/isisd/isis_misc.c
+++ b/isisd/isis_misc.c
@@ -162,10 +162,10 @@ dotformat2buff (u_char * buff, u_char * dotted)
* conversion of XXXX.XXXX.XXXX to memory
*/
int
-sysid2buff (u_char * buff, u_char * dotted)
+sysid2buff (u_char * buff, const u_char * dotted)
{
int len = 0;
- u_char *pos = dotted;
+ const u_char *pos = dotted;
u_char number[3];
number[2] = '\0';