diff options
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r-- | proto/ospf/iface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index ff29a1fd..7658f436 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -398,8 +398,8 @@ ospf_ifa_add(struct object_lock *lock) ifa->helloint=ip->helloint; ifa->waitint=ip->waitint; ifa->deadc=ip->deadc; - ifa->autype=0; /* FIXME add authentification */ - for(i=0;i<8;i++) ifa->aukey[i]=0; + ifa->autype=ip->autype; + memcpy(ifa->aukey,ip->password,8); ifa->options=2; /* FIXME what options? */ if(ip->type==OSPF_IT_UNDEF) |