1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

RPKI: Fix reconfiguration when ssh parameters are undefined

This commit is contained in:
Ondrej Zajicek (work)
2019-07-23 01:52:18 +02:00
parent d843c27478
commit 15b0a92294
5 changed files with 29 additions and 9 deletions

View File

@@ -60,6 +60,15 @@ memset32(void *D, u32 val, uint n)
dst[i] = val;
}
static inline int
bstrcmp(const char *s1, const char *s2)
{
if (s1 && s2)
return strcmp(s1, s2);
else
return !s2 - !s1;
}
#define ROUTER_ID_64_LENGTH 23
#endif