diff options
Diffstat (limited to 'proto/ospf/hello.c')
-rw-r--r-- | proto/ospf/hello.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c index 94326c5d..11f3c6fb 100644 --- a/proto/ospf/hello.c +++ b/proto/ospf/hello.c @@ -249,6 +249,8 @@ hello_send(timer *timer,int poll, struct ospf_neighbor *dirn) if(timer==NULL) ifa=dirn->ifa; else ifa=(struct ospf_iface *)timer->data; + if(ifa->stub) return; /* Don't send any packet on stub iface */ + p=(struct proto *)(ifa->proto); DBG("%s: Hello/Poll timer fired on interface %s.\n", p->name, ifa->iface->name); |