summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ffd/send.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ffd/send.c b/ffd/send.c
index c42b642..2121b58 100644
--- a/ffd/send.c
+++ b/ffd/send.c
@@ -213,11 +213,11 @@ void ffd_send_update(ffd_iface_t *iface, ffd_neigh_t *neigh, ffd_announce_t *ann
packet->len = 0;
}
}
+ }
- if (packet->len) {
- if (!send_eth(addr, iface->ifindex, packet, sizeof(ffd_packet_t)+ntohs(packet->len)))
- fprintf(stderr, "send_eth: %m\n");
- }
+ if (packet->len) {
+ if (!send_eth(addr, iface->ifindex, packet, sizeof(ffd_packet_t)+ntohs(packet->len)))
+ fprintf(stderr, "send_eth: %m\n");
}
}