modified: base_node.py
modified: controller.py
modified: end-device.py
modified: hmac_helper.py
diff --git a/base_node.py b/base_node.py
index 7c2e173..2393eea 100644
--- a/base_node.py
+++ b/base_node.py
@@ -1,8 +1,7 @@
-
# -*- Mode:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
#
# Copyright (C) 2014 Regents of the University of California.
-# Author: Adeola Bannis <thecodemaiden@gmail.com>
+# Author: Teng Liang <philoliang2011@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
@@ -17,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# A copy of the GNU General Public License is in the file COPYING.
+
import logging
import time
import sys
diff --git a/controller.py b/controller.py
index 3a69a58..7043466 100644
--- a/controller.py
+++ b/controller.py
@@ -1,8 +1,8 @@
# -*- Mode:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
#
-# Copyright (C) 2014-2015 Regents of the University of California.
-# Author: Jeff Thompson <jefft0@remap.ucla.edu>
-#
+# Copyright (C) 2014 Regents of the University of California.
+# Author: Teng Liang <philoliang2011@gmail.com>
+#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@@ -11,11 +11,11 @@
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
+# GNU General Public License for more details.
#
-# You should have received a copy of the GNU Lesser General Public License
+# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# A copy of the GNU Lesser General Public License is in the file COPYING.
+# A copy of the GNU General Public License is in the file COPYING.
import time
@@ -51,7 +51,7 @@
def onInterest(self, prefix, interest, transport, registeredPrefixId):
self._responseCount += 1
interestName = interest.getName()
- dump("received interest : ",interestName.toUri())
+ dump("received interest : ",interestName.toUri())
#for bootstrap interest
#if(interestName.toUri().startswith(self._bootstrapPrefix) and interest.getKeyLocator().getKeyData().toRawStr() == self._symmetricKey):
diff --git a/end-device.py b/end-device.py
index 315544e..27ee7d9 100644
--- a/end-device.py
+++ b/end-device.py
@@ -1,8 +1,8 @@
# -*- Mode:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
#
-# Copyright (C) 2014-2015 Regents of the University of California.
-# Author: Jeff Thompson <jefft0@remap.ucla.edu>
-#
+# Copyright (C) 2014 Regents of the University of California.
+# Author: Teng Liang <philoliang2011@gmail.com>
+#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@@ -11,11 +11,11 @@
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
+# GNU General Public License for more details.
#
-# You should have received a copy of the GNU Lesser General Public License
+# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# A copy of the GNU Lesser General Public License is in the file COPYING.
+# A copy of the GNU General Public License is in the file COPYING.
import time
import json
diff --git a/hmac_helper.py b/hmac_helper.py
index 15d8c47..a91d0fe 100644
--- a/hmac_helper.py
+++ b/hmac_helper.py
@@ -1,7 +1,7 @@
# -*- Mode:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
#
# Copyright (C) 2014 Regents of the University of California.
-# Author: Adeola Bannis <thecodemaiden@gmail.com>
+# Author: Teng Liang <philoliang2011@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by