]> git.ipfire.org Git - thirdparty/squid.git/blame - src/icmp/IcmpConfig.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / icmp / IcmpConfig.cc
CommitLineData
7a9d36e3 1/*
4ac4a490 2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
7a9d36e3
AJ
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9/* DEBUG: section 03 Configuration Settings */
10
11#include "squid.h"
12
13#if USE_ICMP
14#include "ConfigParser.h"
15#include "IcmpConfig.h"
16
17IcmpConfig IcmpCfg;
18
19void
20IcmpConfig::parse()
21{
22 if (char *token = ConfigParser::NextQuotedOrToEol()) {
23 program.clear();
24 program.append(token);
25 } else
26 self_destruct();
27}
28
29#endif /* USE_ICMP */
30