From 08f7db163702e1bcb588e9b8c9a341691864b529 Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" Date: Fri, 24 Dec 2010 10:01:12 -0500 Subject: [PATCH] Rename clientpacket.c to dhcpmsg.c. --- ndhc/CMakeLists.txt | 2 +- ndhc/arp.c | 2 +- ndhc/{clientpacket.c => dhcpmsg.c} | 2 +- ndhc/{clientpacket.h => dhcpmsg.h} | 0 ndhc/ndhc.c | 2 +- ndhc/packet.c | 2 +- ndhc/timeout.c | 2 +- 7 files changed, 6 insertions(+), 6 deletions(-) rename ndhc/{clientpacket.c => dhcpmsg.c} (99%) rename ndhc/{clientpacket.h => dhcpmsg.h} (100%) diff --git a/ndhc/CMakeLists.txt b/ndhc/CMakeLists.txt index 151a9cc..ebda059 100644 --- a/ndhc/CMakeLists.txt +++ b/ndhc/CMakeLists.txt @@ -9,7 +9,7 @@ set(NDHC_SRCS packet.c timeout.c script.c - clientpacket.c + dhcpmsg.c arp.c ndhc.c ) diff --git a/ndhc/arp.c b/ndhc/arp.c index 82bf6bd..143fe77 100644 --- a/ndhc/arp.c +++ b/ndhc/arp.c @@ -16,7 +16,7 @@ #include #include #include "arp.h" -#include "clientpacket.h" +#include "dhcpmsg.h" #include "packet.h" #include "sys.h" #include "script.h" diff --git a/ndhc/clientpacket.c b/ndhc/dhcpmsg.c similarity index 99% rename from ndhc/clientpacket.c rename to ndhc/dhcpmsg.c index 3ecfcb0..8643c33 100644 --- a/ndhc/clientpacket.c +++ b/ndhc/dhcpmsg.c @@ -1,4 +1,4 @@ -/* clientpacket.c +/* dhcpmsg.c * * Packet generation and dispatching functions for the DHCP client. * diff --git a/ndhc/clientpacket.h b/ndhc/dhcpmsg.h similarity index 100% rename from ndhc/clientpacket.h rename to ndhc/dhcpmsg.h diff --git a/ndhc/ndhc.c b/ndhc/ndhc.c index 3d2c681..72338a6 100644 --- a/ndhc/ndhc.c +++ b/ndhc/ndhc.c @@ -45,7 +45,7 @@ #include "dhcpd.h" #include "config.h" #include "options.h" -#include "clientpacket.h" +#include "dhcpmsg.h" #include "packet.h" #include "timeout.h" #include "sys.h" diff --git a/ndhc/packet.c b/ndhc/packet.c index 10b188b..c7ec2af 100644 --- a/ndhc/packet.c +++ b/ndhc/packet.c @@ -10,7 +10,7 @@ #include #include "packet.h" -#include "clientpacket.h" +#include "dhcpmsg.h" #include "socket.h" #include "script.h" #include "sys.h" diff --git a/ndhc/timeout.c b/ndhc/timeout.c index 28b3021..3407fd8 100644 --- a/ndhc/timeout.c +++ b/ndhc/timeout.c @@ -5,7 +5,7 @@ #include "config.h" #include "script.h" #include "packet.h" -#include "clientpacket.h" +#include "dhcpmsg.h" #include "arp.h" #include "log.h"