Rename VERB_CMA to the more descriptive VERB_PHYSICAL_ADDRESS_PUSH

This commit is contained in:
Adam Ierymenko 2015-06-29 16:01:01 -07:00
parent 30e4a188d0
commit 0cbbcf2884
2 changed files with 5 additions and 5 deletions

View file

@ -51,7 +51,7 @@ const char *Packet::verbString(Verb v)
case VERB_MULTICAST_GATHER: return "MULTICAST_GATHER"; case VERB_MULTICAST_GATHER: return "MULTICAST_GATHER";
case VERB_MULTICAST_FRAME: return "MULTICAST_FRAME"; case VERB_MULTICAST_FRAME: return "MULTICAST_FRAME";
case VERB_SET_EPHEMERAL_KEY: return "SET_EPHEMERAL_KEY"; case VERB_SET_EPHEMERAL_KEY: return "SET_EPHEMERAL_KEY";
case VERB_CMA: return "CMA"; case VERB_PHYSICAL_ADDRESS_PUSH: return "PHYSICAL_ADDRESS_PUSH";
} }
return "(unknown)"; return "(unknown)";
} }

View file

@ -825,7 +825,7 @@ public:
*/ */
VERB_SET_EPHEMERAL_KEY = 15, VERB_SET_EPHEMERAL_KEY = 15,
/* "Call me at" -- push of potential endpoints for direct communication: /* Push of potential endpoints for direct communication:
* <[1] flags> * <[1] flags>
* <[2] number of addresses> * <[2] number of addresses>
* <[...] address types and addresses> * <[...] address types and addresses>
@ -833,14 +833,14 @@ public:
* Address types and addresses are of the same format as the destination * Address types and addresses are of the same format as the destination
* address type and address in HELLO. * address type and address in HELLO.
* *
* The receiver may, upon receiving a CMA push, attempt to establish a * The receiver may, upon receiving a push, attempt to establish a
* direct link to one or more of the indicated addresses. Senders should * direct link to one or more of the indicated addresses. Senders should
* only send CMA pushes to peers that they have some relationship * only send address pushes to peers that they have some relationship
* with such as a shared network membership or a mutual trust. * with such as a shared network membership or a mutual trust.
* *
* OK/ERROR are not generated. * OK/ERROR are not generated.
*/ */
VERB_CMA = 16 VERB_PHYSICAL_ADDRESS_PUSH = 16
}; };
/** /**