summaryrefslogtreecommitdiff
path: root/proto/ospf/iface.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-06 01:23:03 +0000
committerOndrej Filip <feela@network.cz>2000-06-06 01:23:03 +0000
commitc1824c4d4c7753246ba26d27c7a3b7be3006d46b (patch)
tree428682b51c5ae4ed3f5d2523ab24a35d78cfde68 /proto/ospf/iface.c
parentfef1badfcfb0519cca10f3561e5cb79ef9f9e969 (diff)
Simple autentication added.
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r--proto/ospf/iface.c4
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)