LCOV - code coverage report
Current view: top level - bgp/extended-community - default_gateway.cc (source / functions) Hit Total Coverage
Test: OpenSDN C/C++ coverage (all TARGET_SET jobs) Lines: 5 5 100.0 %
Date: 2026-06-08 02:02:55 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
       3             :  */
       4             : 
       5             : #include "bgp/extended-community/default_gateway.h"
       6             : 
       7             : #include <algorithm>
       8             : #include <string>
       9             : 
      10             : using std::copy;
      11             : using std::string;
      12             : 
      13           2 : DefaultGateway::DefaultGateway(const bytes_type &data) {
      14           2 :     copy(data.begin(), data.end(), data_.begin());
      15           2 : }
      16             : 
      17           2 : string DefaultGateway::ToString() const {
      18           2 :     return string("defaultgw:0");
      19             : }

Generated by: LCOV version 1.14