diff options
Diffstat (limited to 'babeld/babeld.c')
| -rw-r--r-- | babeld/babeld.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/babeld/babeld.c b/babeld/babeld.c index 1d2f60e3ad..2c9c9f031e 100644 --- a/babeld/babeld.c +++ b/babeld/babeld.c @@ -183,6 +183,10 @@ static void babel_read_protocol(struct event *thread) flog_err_sys(EC_LIB_SOCKET, "recv: %s", safe_strerror(errno)); } } else { + if(ntohs(sin6.sin6_port) != BABEL_PORT) { + return; + } + FOR_ALL_INTERFACES(vrf, ifp) { if(!if_up(ifp)) continue; |
