aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/dhcp6.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/pending/dhcp6.c')
-rw-r--r--toys/pending/dhcp6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/pending/dhcp6.c b/toys/pending/dhcp6.c
index 755c1516..18aee8a3 100644
--- a/toys/pending/dhcp6.c
+++ b/toys/pending/dhcp6.c
@@ -254,8 +254,8 @@ static void mode_raw()
error_exit("MODE RAW : Bind fail.\n");
}
if (setsockopt(TT.sock, SOL_PACKET, PACKET_HOST,&constone, sizeof(int)) < 0) {
- if (errno != ENOPROTOOPT) error_exit("MODE RAW : Bind fail.\n");
- }
+ if (errno != ENOPROTOOPT) error_exit("MODE RAW : Bind fail.\n");
+ }
}
static void generate_transection_id()