REST: nothing triggers rest
[oweals/gnunet.git] / src / ats / gnunet-service-ats_performance.c
index 24073c2c90f2de7efd35420fdc2476a4e9026bb9..94a22d378dd12e5fcfc726e69ca4e495b2b00ada 100644 (file)
      WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      Affero General Public License for more details.
+    
+     You should have received a copy of the GNU Affero General Public License
+     along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+     SPDX-License-Identifier: AGPL3.0-or-later
 */
 /**
  * @file ats/gnunet-service-ats_performance.c
@@ -79,7 +84,7 @@ notify_client (struct GNUNET_SERVICE_Client *client,
   char *addrp;
 
   if (NULL != prop)
-    GNUNET_break (GNUNET_ATS_NET_UNSPECIFIED != prop->scope);
+    GNUNET_break (GNUNET_NT_UNSPECIFIED != prop->scope);
   GNUNET_assert (msize < GNUNET_MAX_MESSAGE_SIZE);
   msg = (struct PeerInformationMessage *) buf;
   msg->header.size = htons (msize);
@@ -148,7 +153,7 @@ GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer,
                                     struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in)
 {
   GNUNET_break ( (NULL == prop) ||
-                 (GNUNET_ATS_NET_UNSPECIFIED != prop->scope) );
+                 (GNUNET_NT_UNSPECIFIED != prop->scope) );
   notify_client (NULL,
                  peer,
                  plugin_name,
@@ -202,7 +207,7 @@ peerinfo_it (void *cls,
               plugin_name,
               (unsigned int) ntohl (bandwidth_out.value__),
               (unsigned int) ntohl (bandwidth_in.value__));
-  GNUNET_break (GNUNET_ATS_NET_UNSPECIFIED != prop->scope);
+  GNUNET_break (GNUNET_NT_UNSPECIFIED != prop->scope);
   notify_client (client,
                  id,
                  plugin_name,