mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Password same now actually works
This commit is contained in:
@@ -54,6 +54,8 @@ password_strncpy(char *to, char *from, int len)
|
|||||||
int
|
int
|
||||||
password_same(struct password_item *old, struct password_item *new)
|
password_same(struct password_item *old, struct password_item *new)
|
||||||
{
|
{
|
||||||
|
if (old == new)
|
||||||
|
return 1;
|
||||||
return ((old->from == new->from) &&
|
return ((old->from == new->from) &&
|
||||||
(old->to == new->to) &&
|
(old->to == new->to) &&
|
||||||
(old->passive == new->passive) &&
|
(old->passive == new->passive) &&
|
||||||
|
Reference in New Issue
Block a user