projects
/
project
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dhcpv6: improve error checking in dhcpv6_setup_interface()
[project/odhcpd.git]
/
src
/
dhcpv6.h
diff --git
a/src/dhcpv6.h
b/src/dhcpv6.h
index 08dac6c7282558b080124b2b923f28677e687f24..7e2f93632d0c3480974f87079560df8af09dd142 100644
(file)
--- a/
src/dhcpv6.h
+++ b/
src/dhcpv6.h
@@
-16,11
+16,9
@@
#include <libubox/ustream.h>
#include "odhcpd.h"
#include <libubox/ustream.h>
#include "odhcpd.h"
-#define ALL_DHCPV6_RELAYS {{{0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02}}}
+#define ALL_DHCPV6_RELAYS "ff02::1:2"
-#define ALL_DHCPV6_SERVERS {{{0xff, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x03}}}
+#define ALL_DHCPV6_SERVERS "ff05::1:3"
#define DHCPV6_CLIENT_PORT 546
#define DHCPV6_SERVER_PORT 547
#define DHCPV6_CLIENT_PORT 546
#define DHCPV6_SERVER_PORT 547