Hiii everbody 

I asked how is attr_write fuction works 



I wrote
In radius.config 


attr_rewrite MyCalledStationId {
               attribute = Cisco-AVPair
               # may be "packet", "reply", or "config"
               searchin = packet
               searchfor = "gw-rxd-cdn=ton:2,npi:1,#:"
               replacewith = ""
               ignore_case = no
               new_attribute = yes
               max_matches = 1
       #       ## If set to yes then the replace string will be appended to
the original string
               append = no
        }


But how can i assing to new attribute the attr_rewrite result


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to