Commit 76c2cd05 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[3604] Use raw socket type as a default one.

parent 832d0419
......@@ -26,7 +26,7 @@ namespace dhcp {
const char* CfgIface::ALL_IFACES_KEYWORD = "*";
CfgIface::CfgIface()
: wildcard_used_(false), socket_type_(SOCKET_DGRAM) {
: wildcard_used_(false), socket_type_(SOCKET_RAW) {
}
void
......@@ -151,7 +151,7 @@ CfgIface::reset() {
wildcard_used_ = false;
iface_set_.clear();
address_map_.clear();
useSocketType(AF_INET, SOCKET_DGRAM);
useSocketType(AF_INET, SOCKET_RAW);
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment