Merge remote-tracking branch 'origin/libuv_dhcpd_dev' into libuv_dhcpd_dev
# Conflicts: # dhcp_tools/detail_wnd.c
This commit is contained in:
commit
42de56ac4a
|
@ -285,7 +285,7 @@ static void create_dhcp_tree_mode(PDHCP_PACKAGE p, U32 nBytes, GtkWidget *treeVi
|
||||||
ADD_SUB_STRING("Relay agent IP address", inet_ntoa(*(struct in_addr *)&p->dhcp.giaddr));
|
ADD_SUB_STRING("Relay agent IP address", inet_ntoa(*(struct in_addr *)&p->dhcp.giaddr));
|
||||||
s = sdsempty();
|
s = sdsempty();
|
||||||
MAC_TO_STR(p->dhcp.chaddr, s);
|
MAC_TO_STR(p->dhcp.chaddr, s);
|
||||||
ADD_SUB_STRING("Destination", s);
|
ADD_SUB_STRING("Client MAC address", s);
|
||||||
sdsfree(s);
|
sdsfree(s);
|
||||||
|
|
||||||
if (strlen((char *)p->dhcp.sname) != 0) {
|
if (strlen((char *)p->dhcp.sname) != 0) {
|
||||||
|
|
|
@ -105,6 +105,7 @@ static const DHCP_OPTION_CFG g_opCfg[] = {
|
||||||
{"SubnetSelectionOption", OPT_SUBNETSELECTION, 3, TRUE },
|
{"SubnetSelectionOption", OPT_SUBNETSELECTION, 3, TRUE },
|
||||||
{"DomainSearch", OPT_DOMAINSEARCH, 1, TRUE },
|
{"DomainSearch", OPT_DOMAINSEARCH, 1, TRUE },
|
||||||
{"SIPServersDHCPOption", OPT_SIPSERVERSDHCP, 1, TRUE },
|
{"SIPServersDHCPOption", OPT_SIPSERVERSDHCP, 1, TRUE },
|
||||||
|
{"ClasslessStaticRoute", OPT_CLASSLESSSTATICROUTE, 1, TRUE },
|
||||||
{"CCC", OPT_CCC, 1, TRUE },
|
{"CCC", OPT_CCC, 1, TRUE },
|
||||||
{"TFTPServerIPaddress", OPT_TFPTSERVERIPADDRESS, 3, TRUE },
|
{"TFTPServerIPaddress", OPT_TFPTSERVERIPADDRESS, 3, TRUE },
|
||||||
{"CallServerIPaddress", OPT_CALLSERVERIPADDRESS, 3, TRUE },
|
{"CallServerIPaddress", OPT_CALLSERVERIPADDRESS, 3, TRUE },
|
||||||
|
|
Loading…
Reference in New Issue