diff options
| author | Alexander Amanuel <iavael@yandex-team.ru> | 2014-01-28 23:09:21 +0400 |
|---|---|---|
| committer | Alexander Amanuel <iavael@yandex-team.ru> | 2014-01-28 23:09:21 +0400 |
| commit | 46a251e346f085f4a6e022ead94d45391ab53726 (patch) | |
| tree | b44f69f75dcb812cfcf84a9ff14fc88909fd4324 /src/Context.cc | |
| parent | 924feb12b055422f632de7e80afc128378ff2999 (diff) | |
Refactored DSCP-related code a bit
Diffstat (limited to 'src/Context.cc')
| -rw-r--r-- | src/Context.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Context.cc b/src/Context.cc index 7cda18da..b3cfe4d4 100644 --- a/src/Context.cc +++ b/src/Context.cc @@ -184,6 +184,7 @@ Context::Context(bool standalone, // when none of network interface has IPv4 address. setDefaultAIFlags(0); } + SocketCore::setIpDscp(op->getAsInt(PREF_DSCP)); net::checkAddrconfig(); // Bind interface if(!op->get(PREF_INTERFACE).empty()) { |
