commit | 51943369e36ffb30164d13ab75e7ca3bab9f7ed7 | [log] [tgz] |
---|---|---|
author | Ilya Ponetaev <iponetaev@dlink.ru> | Sat Sep 13 21:19:01 2014 +0100 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Sat Sep 13 21:19:01 2014 +0100 |
tree | 6e8b967bc28bec7b7cf916ff8699d63f93f526f0 | |
parent | 2d75f2e4a5e099ea629d6a780ad3a6bf7718aaa5 [diff] |
Supply "Success" status code in reply to DHCPDECLINE.
diff --git a/src/rfc3315.c b/src/rfc3315.c index f5ab4f7..5ebf09d 100644 --- a/src/rfc3315.c +++ b/src/rfc3315.c
@@ -1240,6 +1240,12 @@ } } + + /* We must anwser with 'success' in global section anyway */ + o1 = new_opt6(OPTION6_STATUS_CODE); + put_opt6_short(DHCP6SUCCESS); + put_opt6_string(_("success")); + end_opt6(o1); break; }