]> granicus.if.org Git - strace/commitdiff
xlat: add fallback definitions to RTPROT_* constants
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 23 May 2018 13:39:25 +0000 (15:39 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 25 May 2018 09:15:03 +0000 (09:15 +0000)
* xlat/routing_protocols.in: Add default values to constants.

xlat/routing_protocols.in

index d366b670160691e5e7281db3c73718d328e7d4c7..004b0997612ce43947a14c8b4c041098736a76ce 100644 (file)
@@ -1,16 +1,17 @@
-RTPROT_UNSPEC
-RTPROT_REDIRECT
-RTPROT_KERNEL
-RTPROT_BOOT
-RTPROT_STATIC
-RTPROT_GATED
-RTPROT_RA
-RTPROT_MRT
-RTPROT_ZEBRA
-RTPROT_BIRD
-RTPROT_DNROUTED
-RTPROT_XORP
-RTPROT_NTK
-RTPROT_DHCP
-RTPROT_MROUTED
-RTPROT_BABEL
+/* sort -k2,2n */
+RTPROT_UNSPEC  0
+RTPROT_REDIRECT        1
+RTPROT_KERNEL  2
+RTPROT_BOOT    3
+RTPROT_STATIC  4
+RTPROT_GATED   8
+RTPROT_RA      9
+RTPROT_MRT     10
+RTPROT_ZEBRA   11
+RTPROT_BIRD    12
+RTPROT_DNROUTED        13
+RTPROT_XORP    14
+RTPROT_NTK     15
+RTPROT_DHCP    16
+RTPROT_MROUTED 17
+RTPROT_BABEL   42