-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enables AMF to accept not-perfect NGAP packets which have not 0 ASN.1…
… PER padding bit. (#2) * Enables AMF to accept not-perfect NGAP packets which have not 0 ASN.1 PER padding bit. * Use go build -tags skip_padding_check to switch padding check Default will check padding if value is 0 Co-authored-by: free5gc-org <[email protected]>
- Loading branch information
1 parent
162f622
commit 504c704
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// +build !skip_padding_check | ||
|
||
package aper | ||
|
||
const skipPaddingCheck bool = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// +build skip_padding_check | ||
|
||
package aper | ||
|
||
const skipPaddingCheck bool = true |