diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2018-08-01 03:14:34 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-08-01 03:14:34 +0000 |
commit | 18bf331751ad242be19c9d809f3e71660d6e4650 (patch) | |
tree | a7c6c2bea92b95bacfda363e736b0764b71006f1 /ipacm/src/IPACM_Iface.cpp | |
parent | f22064088b1538509e1f1f8cafd07ca3c13f00c9 (diff) | |
parent | 3f5615325989d5c739f08f75155f84908611c95e (diff) | |
download | ipacfg-mgr-18bf331751ad242be19c9d809f3e71660d6e4650.tar.gz |
Snap for 4924178 from 3f5615325989d5c739f08f75155f84908611c95e to pi-qpr1-release
Change-Id: Id910996ff03bad8cfd39f2a2acd6415dc2be0f83
Diffstat (limited to 'ipacm/src/IPACM_Iface.cpp')
-rw-r--r-- | ipacm/src/IPACM_Iface.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ipacm/src/IPACM_Iface.cpp b/ipacm/src/IPACM_Iface.cpp index e24f7d9..bee69ed 100644 --- a/ipacm/src/IPACM_Iface.cpp +++ b/ipacm/src/IPACM_Iface.cpp @@ -1,5 +1,5 @@ /* -Copyright (c) 2013, The Linux Foundation. All rights reserved. +Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -1026,3 +1026,10 @@ void IPACM_Iface::config_ip_type(ipa_ip_type iptype) return; } + +void IPACM_Iface::delete_iface(void) +{ + IPACMDBG_H("netdev (%s):ipa_index (%d) instance close \n", + IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].iface_name, ipa_if_num); + delete this; +}
\ No newline at end of file |