/*
   * Compare two EndPointReferences
   *
   */
  int cmp(epr_t *epr2) {