0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 20:58:44 +00:00

Password same now actually works

This commit is contained in:
Pavel Machek 2000-05-16 15:00:15 +00:00
parent 898fdd85dc
commit 2f2663bdb7

View File

@ -54,6 +54,8 @@ password_strncpy(char *to, char *from, int len)
int
password_same(struct password_item *old, struct password_item *new)
{
if (old == new)
return 1;
return ((old->from == new->from) &&
(old->to == new->to) &&
(old->passive == new->passive) &&