OCT 1. 增加编译开关,支持不带VLAN时 DHCP 服务
This commit is contained in:
parent
9c13c71e96
commit
13b447daac
|
@ -100,7 +100,7 @@ application:
|
|||
# MAC地址黑名单
|
||||
# mac_filter = ["00:01:02:03:04:07", "00:01:02:03:04:01"];
|
||||
# 数据包过滤器
|
||||
net_filter = "udp and dst port 67";
|
||||
net_filter = "vlan and udp and dst port 67";
|
||||
# IP地址池配置
|
||||
range_set: (
|
||||
{ dhcp_range = "192.168.101.2-192.168.101.4";
|
||||
|
|
|
@ -13,7 +13,7 @@ extern "C" {
|
|||
#include <linux/if_ether.h>
|
||||
#include "common.h"
|
||||
|
||||
#define VLAN_SUPPORT (0)
|
||||
#define VLAN_SUPPORT (1)
|
||||
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
|
|
Loading…
Reference in New Issue