]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/snmp/Forwarder.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / snmp / Forwarder.cc
index 252a50b0997c67bb298396498af6d8c5f721b06d..199f69599d54fae728e699306379a0c3d5d5fde0 100644 (file)
@@ -1,8 +1,13 @@
 /*
- * DEBUG: section 49    SNMP Interface
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
  *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
 
+/* DEBUG: section 49    SNMP Interface */
+
 #include "squid.h"
 #include "base/TextException.h"
 #include "comm.h"
@@ -18,8 +23,8 @@ CBDATA_NAMESPACED_CLASS_INIT(Snmp, Forwarder);
 
 Snmp::Forwarder::Forwarder(const Pdu& aPdu, const Session& aSession, int aFd,
                            const Ip::Address& anAddress):
-        Ipc::Forwarder(new Request(KidIdentifier, 0, aPdu, aSession, aFd, anAddress), 2),
-        fd(aFd)
+    Ipc::Forwarder(new Request(KidIdentifier, 0, aPdu, aSession, aFd, anAddress), 2),
+    fd(aFd)
 {
     debugs(49, 5, HERE << "FD " << aFd);
     Must(fd >= 0);
@@ -103,3 +108,4 @@ Snmp::SendResponse(unsigned int requestId, const Pdu& pdu)
     response.pack(message);
     Ipc::SendMessage(Ipc::Port::CoordinatorAddr(), message);
 }
+