> Source: [sk92933](https://support.checkpoint.com/results/sk/sk92933)

# sk92933 - Policy installation  with MGCP protocol fails on R76 / R77.x Gateway with error "Error compiling IPv6 flavor"

| Property | Value |
|----------|-------|
| Solution ID | sk92933 |
| Date Created | 2013-05-30 |
| Last Modified | 2017-09-27 |
| Technical Level | Advanced |
| Products | Security Gateway, Security Management Server, Multi-Domain Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R82, R81.20, R82.10, R82.20, R81.20, R82, R82.20 |
| OS | Gaia |

## Symptoms

- * Policy installation in SmartDashboard fails with errors:

  ```
  
  <Policy_Name>:
  "/opt/CPsuite-R76/fw1/conf/<Policy_Name>.pf", line N: ERROR: syntax error
  ....................................
  Error compiling IPv6 flavor.
  Compilation failed.
  Operation ended with errors.
  ```

* It was found out that services using "Protocol Type" set to "`MGCP_UDP`" ("`mgcp_MG`" and "`mgcp_ca`") cause the failure.  

* If a new service (with same port number) is created with "Protocol Type" set to "`None`", then policy installation succeeds.
* "/opt/CPsuite-R76/fw1/conf/*\<Policy_Name\>* .pf", line *N* contain MGCP_MATCH_UPON_HIDE_MAPPING macro

## Cause

When services with "Protocol Type" set to "`MGCP_UPP`" are added to rulebase, then the macro `MGCP_MATCH_UPON_HIDE_MAPPING` is added in the policy to the IPv6 code section with an "ipv4" value.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
