Interface dummy is too strange for me... but psst, that's secret.
This commit is contained in:
parent
be77b6890c
commit
5b846de6a6
1 changed files with 2 additions and 1 deletions
|
@ -641,7 +641,8 @@ new_iface(struct proto *p, struct iface *new, unsigned long flags, struct iface_
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ipa_nonzero(rif->sock->daddr)) {
|
if (!ipa_nonzero(rif->sock->daddr)) {
|
||||||
log( L_WARN "%s: interface %s is too strange for me", P_NAME, rif->iface ? rif->iface->name : "(dummy)" );
|
if (rif->iface)
|
||||||
|
log( L_WARN "%s: interface %s is too strange for me", P_NAME, rif->iface->name );
|
||||||
} else
|
} else
|
||||||
if (!(rif->mode & IM_NOLISTEN))
|
if (!(rif->mode & IM_NOLISTEN))
|
||||||
if (sk_open(rif->sock)<0) {
|
if (sk_open(rif->sock)<0) {
|
||||||
|
|
Loading…
Reference in a new issue