diff options
author | Ondrej Filip <feela@network.cz> | 2000-09-02 08:54:40 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-09-02 08:54:40 +0000 |
commit | e3bc10fdc49266db827af4e4062e639862037eb6 (patch) | |
tree | 0eaa4538e5d028c9bbb49e3a57b0d9444ee7be34 /proto/ospf/packet.c | |
parent | 5ddec4e6cfef8e5867d7440693894517f955e96f (diff) |
Added stub interface. (Interface which is propagated to OSPF but
it does not sends nor listens packets.)
I added some new options, please look at it and look into doc if it's OK.
Diffstat (limited to 'proto/ospf/packet.c')
-rw-r--r-- | proto/ospf/packet.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c index b48fc80a..382e542f 100644 --- a/proto/ospf/packet.c +++ b/proto/ospf/packet.c @@ -84,6 +84,8 @@ ospf_rx_hook(sock *sk, int size) int i; u8 *pu8; + if(ifa->stub) return(1); + DBG("%s: RX_Hook called on interface %s.\n",p->name, sk->iface->name); ps = (struct ospf_packet *) ipv4_skip_header(sk->rbuf, &size); |