]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
BGP: Update RFC references
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 19 Feb 2017 11:02:39 +0000 (12:02 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 19 Feb 2017 11:02:39 +0000 (12:02 +0100)
proto/bgp/attrs.c
proto/bgp/bgp.h
proto/bgp/packets.c

index 9d23374a43a948a2edfb31bf7af99016c8279ee8..2b0a92dcad712dbf28544e6777105ee1ce7f4639 100644 (file)
  * implementations that pass invalid AS_CONFED_* segments are
  * widespread.
  *
- * Error handling of AS4_* attributes is done as specified by
- * draft-ietf-idr-rfc4893bis-03. There are several possible
- * inconsistencies between AGGREGATOR and AS4_AGGREGATOR that are not
- * handled by that draft, these are logged and ignored (see
+ * Error handling of AS4_* attributes is done as specified by RFC 6793. There
+ * are several possible inconsistencies between AGGREGATOR and AS4_AGGREGATOR
+ * that are not handled by that RFC, these are logged and ignored (see
  * bgp_reconstruct_4b_attrs()).
  */
 
index d028bef4427d54fb7611de4bfc31f4cc60e95fc2..bf9335543b8c4880e78db5b3d3edc54b023a3586 100644 (file)
@@ -48,7 +48,7 @@ struct bgp_config {
   int passive;                         /* Do not initiate outgoing connection */
   int interpret_communities;           /* Hardwired handling of well-known communities */
   int secondary;                       /* Accept also non-best routes (i.e. RA_ACCEPTED) */
-  int add_path;                                /* Use ADD-PATH extension [draft] */
+  int add_path;                                /* Use ADD-PATH extension [RFC7911] */
   int allow_local_as;                  /* Allow that number of local ASNs in incoming AS_PATHs */
   int gr_mode;                         /* Graceful restart mode (BGP_GR_*) */
   int setkey;                          /* Set MD5 password to system SA/SP database */
@@ -104,7 +104,7 @@ struct bgp_conn {
   int start_state;                     /* protocol start_state snapshot when connection established */
   u8 peer_refresh_support;             /* Peer supports route refresh [RFC2918] */
   u8 peer_as4_support;                 /* Peer supports 4B AS numbers [RFC4893] */
-  u8 peer_add_path;                    /* Peer supports ADD-PATH [draft] */
+  u8 peer_add_path;                    /* Peer supports ADD-PATH [RFC7911] */
   u8 peer_enhanced_refresh_support;    /* Peer supports enhanced refresh [RFC7313] */
   u8 peer_gr_aware;
   u8 peer_gr_able;
@@ -310,7 +310,7 @@ void bgp_log_error(struct bgp_proto *p, u8 class, char *msg, unsigned code, unsi
 #define BA_EXT_COMMUNITY       0x10    /* [RFC4360] */
 #define BA_AS4_PATH             0x11    /* [RFC4893] */
 #define BA_AS4_AGGREGATOR       0x12
-#define BA_LARGE_COMMUNITY     0x20    /* [draft-ietf-idr-large-community] */
+#define BA_LARGE_COMMUNITY     0x20    /* [RFC8092] */
 
 /* BGP connection states */
 
index 3e816839a7d9fddd7673fb594a3533a8226fc188..d100b7d02ec76bdb92263fb62ae9d3858bf65bfe 100644 (file)
@@ -856,7 +856,7 @@ bgp_parse_capabilities(struct bgp_conn *conn, byte *opt, int len)
            conn->advertised_as = get_u32(opt + 2);
          break;
 
-       case 69: /* ADD-PATH capability, draft */
+       case 69: /* ADD-PATH capability, RFC 7911 */
          if (cl % 4)
            goto err;
          for (i = 0; i < cl; i += 4)