Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2580

sys IPv6 variables contain addresses in the wrong order

    XMLWordPrintable

    Details

    • Platform:
      RHEL or CentOS

      Description

      These IPv6 addresses are reversed:

      • sys.inet6.addresses[interface].address
      • sys.inet6.routes.next_hop

      Examples:

          "inet6": {
            "addresses": {
              "em1": {
                "address": "645d:fe2f:cbff:7a2b:0:0:0:fe80",
                "device_number": 2,
                "interface": "em1",
                "prefix_length": 64,
                "raw_flags": "80",
                "scope": 32
              },
              "lo": {
                "address": "1:0:0:0:0:0:0:0",
                "device_number": 1,
                "interface": "lo",
                "prefix_length": 128,
                "raw_flags": "80",
                "scope": 16
              }
           },
            "routes": [
                      {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "80",
                "flags": [
                  "up",
                  "net",
                  "local"
                ],
                "interface": "em1",
                "metric": 0,
                "next_hop": "110:15:186:146:1f:4000:8:2610",
                "refcnt": 1,
                "source_prefix": "00",
                "use": 83
              },
      
        }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10038 jimis (Dimitrios Apostolou)
                Reporter:
                phalenor Andrew Cobaugh
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel