summaryrefslogtreecommitdiff
path: root/ospfd/ospf_opaque.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospf_opaque.c')
-rw-r--r--ospfd/ospf_opaque.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospf_opaque.c b/ospfd/ospf_opaque.c
index 4e7b04f0..01a8e1ce 100644
--- a/ospfd/ospf_opaque.c
+++ b/ospfd/ospf_opaque.c
@@ -223,6 +223,7 @@ ospf_opaque_type_name (u_char opaque_type)
default:
if (OPAQUE_TYPE_RANGE_UNASSIGNED (opaque_type))
name = "Unassigned";
+ /* XXX warning: comparison is always true due to limited range of data type */
else if (OPAQUE_TYPE_RANGE_RESERVED (opaque_type))
name = "Private/Experimental";
break;