diff options
author | Ondrej Filip <feela@network.cz> | 2000-06-06 03:23:03 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-06-06 03:23:03 +0200 |
commit | c1824c4d4c7753246ba26d27c7a3b7be3006d46b (patch) | |
tree | 428682b51c5ae4ed3f5d2523ab24a35d78cfde68 /proto/ospf/iface.c | |
parent | fef1badfcfb0519cca10f3561e5cb79ef9f9e969 (diff) | |
download | bird-c1824c4d4c7753246ba26d27c7a3b7be3006d46b.tar bird-c1824c4d4c7753246ba26d27c7a3b7be3006d46b.zip |
Simple autentication added.
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 ff29a1f..7658f43 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) |