Forum Discussion

jens_dietze_249's avatar
jens_dietze_249
Icon for Nimbostratus rankNimbostratus
Mar 18, 2016

ASN1::replace & ASN1::insert - undefined procedure

Hello,

I am trying to use an iRule to replace an IP address inside a LDAP request which is in ASN1.

ASN1::replace

and

ASN1::insert

both give an error message while saving the iRule: undefined procedure: ASN1::insert

The wiki mentions both functions which should be present since BIGIP-11.5.0, our BIG-IP runs with version 11.6.0.6.64.442.

Am I missing anything?

1 Reply

  • Hmm. It looks like our documentation is wrong - it should be "ASN1::encode insert" and "ASN1::encode replace". I'll get that updated.

    ASN1::encode encodingType formatString ?value value ...
    
    ASN1::encode insert element offset formatString ?value value ...?
    
    ASN1::encode replace element offset formatString ?value value ...?